Bug 794396 (JBEPP-1440)

Summary: Deleting created subnode populates NPE and parent node is not properly deleted
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Michal Vanco <mvanco>
Component: unspecifiedAssignee: Nick Scavelli <nscavell>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0.GACC: dingham, jmorgan, mvecera
Target Milestone: ---Keywords: Regression
Target Release: 5.2.1.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1440
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was discovered that deleting a navigation sub-node in a transient state (added in the Edit Navigation screen, but not yet saved) caused a Null Pointer Exception (NPE) and the parent navigation node was not correctly deleted. The fix introduces changes to the Edit Navigation logic that ensures the parent-child node relationship is handled correctly when deleted.
Story Points: ---
Clone Of: Environment:
EPP5.2.0 GA
Last Closed: 2012-01-24 02:49:02 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 Michal Vanco 2011-12-06 17:21:21 UTC
Workaround Description: - go to Site/Group management
- create node at first level + Save
- create another node as subnode (do not save)
- delete parent node
- Save -> Unknown error, NPE in log
- select some page and go back -> parent node is not properly deleted and you can get other error while working with that error (Concurrent modification error: Can't update deleted node. Your editor will be reseted now)
project_key: JBEPP

There is a NPE thrown while deleting parent node with subnode which was created at the moment.
See steps to reproduce.
It seems like related to JBEPP-1399

+ this is regression - not reproduced on 5.1.1

Comment 1 Michal Vanco 2011-12-06 17:23:03 UTC
Link: Added: This issue is related to JBQA-5638


Comment 2 Michal Vanco 2011-12-06 17:23:44 UTC
Link: Added: This issue is related to JBEPP-1399


Comment 3 Thomas Heute 2011-12-08 09:59:13 UTC
Release Notes Docs Status: Added: Not Yet Documented


Comment 5 Nick Scavelli 2012-01-24 02:40:47 UTC
Link: Added: This issue is related to GTNPORTAL-2057


Comment 6 Nick Scavelli 2012-01-24 02:41:34 UTC
Link: Removed: This issue is related to GTNPORTAL-2057 


Comment 7 Nick Scavelli 2012-01-24 02:41:46 UTC
Link: Added: This issue is a dependency of GTNPORTAL-2057


Comment 8 Jared MORGAN 2012-03-27 04:24:21 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:
== IS RELEASE NOTE REQUIRED FOR THIS ISSUE? ==

Comment 11 Jared MORGAN 2012-04-04 00:53:21 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-== IS RELEASE NOTE REQUIRED FOR THIS ISSUE? ==+It was discovered that deleting a navigation sub-node in a transient state (added in the Edit Navigation screen, but not yet saved) caused a Null Pointer Exception (NPE) and the parent navigation node was not correctly deleted. The fix introduces changes to the Edit Navigation logic that ensures the parent-child node relationship is handled correctly when deleted.