Bug 869623
Summary: | GUI out of sync with database after creating topic then editing it | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> |
Component: | Web-UI | Assignee: | pressgang-ccms-dev |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.0 | CC: | lcarlon, lnewson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-01 23:36:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joshua Wulf
2012-10-24 12:39:50 UTC
I clicked on "Edit Latest Version" The topic opened with my original text in it. I made the change again, then saved it. This time a revision was created. It appears that it was not persisted on the first edit, and although the new text was displayed in the interface, the old text was the text in the database. It's topic 12095. This is an issue with how seam works when a transaction fails (from my knowledge). Essentially it keeps the Java Bean as it was before the failure and disconnects from the Persistence Context (as normally happens when a transaction is rolled back). I'm fairly sure that the error message indicates that you should relog, I'll double check that though. Fixed in build 20121123-1253. I've updated all error messages I could find. I also found an issue where the seam conversation wouldn't end when some Exceptions occurred. This was more then likely what was causing the main issue as if the conversation remains active it'll try to use the database connection that has been rolled back and disconnected. |