Bug 794396 (JBEPP-1440) - Deleting created subnode populates NPE and parent node is not properly deleted
Summary: Deleting created subnode populates NPE and parent node is not properly deleted
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-1440
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: unspecified
Version: 5.2.0.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.1.GA
Assignee: Nick Scavelli
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-06 17:21 UTC by Michal Vanco
Modified: 2015-02-08 21:52 UTC (History)
3 users (show)

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.
Clone Of:
Environment:
EPP5.2.0 GA
Last Closed: 2012-01-24 02:49:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 794354 0 high CLOSED NPE when deleting a node with a system subnode 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBEPP-1440 0 Major Closed Deleting created subnode populates NPE and parent node is not properly deleted 2012-07-28 00:24:15 UTC

Internal Links: 794354

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.


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