Bug 791072

Summary: Error when Changing a Tag's Tag Category
Product: [Community] PressGang CCMS Reporter: David Le Sage <dlesage>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, lnewson, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-02 00:43:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.