Bug 860916
Summary: | Error when creating new Topic | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Lee Newson <lnewson> |
Component: | Web-UI | Assignee: | pressgang-ccms-dev |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.0 | CC: | rlandman |
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:54:15 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
Lee Newson
2012-09-27 05:36:02 UTC
*** Bug 861259 has been marked as a duplicate of this bug. *** Fixed in Build 20121011-0758. Cause: The validateXML() method was creating a TopicSecondOrderData entity when one didn't exist during the Pre Persist/Update phase and as such the cascade had already been processed at this stage and the TopicSecondOrderData entity wasn't getting persisted causing the above exception. Consequence: Any topics that didn't have a TopicSecondOrderData entity associated with a topic would cause the above exception and weren't able to be edited. Fix: Move the validation process to just before the topic is persisted. Doing this ensures that the TopicSecondOrderData will be processed and persisted properly. |