Bug 791072 - Error when Changing a Tag's Tag Category
Summary: Error when Changing a Tag's Tag Category
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 03:32 UTC by David Le Sage
Modified: 2014-08-04 22:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause The TagHome.wire() method was not calling the VersionedEntityHome.wire() method. This means that the TagHome.update() method was always returning com.redhat.topicindex.utils.Constants.CONCURRENT_EDIT, which was breaking the navigation rules in TagHome.page.xml. Consequence The user was being redirected back to TagEdit.seam, with an out of sync collection of tags. Fix Removed the TagHome.wire() method. Result The navigation rules now work, which removes the situation where the TagEdit.seam page is reloaded.
Clone Of:
Environment:
Last Closed: 2013-07-02 00:43:30 UTC


Attachments (Terms of Use)

Description David Le Sage 2012-02-16 03:32:43 UTC
/TagEdit.xhtml

An Error Occurred:
duplicate Id for a component tag:ProjectID7CategoryID17TagID256


Steps to reproduce:

1.  Searched for existing tag "Enterprise Data Services."
2.  "Unticked" tag category Technologies and ticked tag category Projects.
3.  Clicked Update.
4.  Error appears with stack trace.

Comment 1 Matthew Casperson 2012-02-17 03:45:58 UTC
Fixed in 20120217-1345

Comment 2 Matthew Casperson 2012-02-17 03:45:58 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
The TagHome.wire() method was not calling the VersionedEntityHome.wire() method. This means that the TagHome.update() method was always returning com.redhat.topicindex.utils.Constants.CONCURRENT_EDIT, which was breaking the navigation rules in TagHome.page.xml.

Consequence
The user was being redirected back to TagEdit.seam, with an out of sync collection of tags.

Fix
Removed the TagHome.wire() method.

Result
The navigation rules now work, which removes the situation where the TagEdit.seam page is reloaded.


Note You need to log in before you can comment on or make changes to this bug.