Bug 793824 (JBEPP-899)

Summary: MOPPortalStructuralAccess improperly closes the POMSession when saving changes to windows.
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Chris Laprun <chris.laprun>
Component: PortalAssignee: claprun <claprun>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GACC: epp-bugs, theute
Target Milestone: ---   
Target Release: 5.1.1.DEV02   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-899
Whiteboard: wsrp
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-21 12:41:57 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:

Description Chris Laprun 2011-04-21 09:53:01 UTC
project_key: JBEPP

Comment 1 Chris Laprun 2011-04-21 09:53:38 UTC
Link: Added: This issue depends GTNPORTAL-1868


Comment 2 Chris Laprun 2011-04-21 12:41:57 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: Fixed an issue where MOPPortalStructuralAccess could improperly close the POMSession.


Comment 3 Scott Mumford 2011-04-29 02:46:51 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Needs More Info
Release Notes Text: Removed: Fixed an issue where MOPPortalStructuralAccess could improperly close the POMSession. Added: Cause: NEEDINFO Why couldn't MOPPortalStructuralAccess close POMSession properly?
Consequence: An NPE was thrown (from GTNPORTAL-1868)?
Fix: NEEDINFO How was this fixed?
Result:  MOPPortalStructuralAccess can now close the POMSession properly and the NPE no longer occurs.


Comment 4 Scott Mumford 2011-04-29 02:49:57 UTC
Release Notes Text: Removed: Cause: NEEDINFO Why couldn't MOPPortalStructuralAccess close POMSession properly?
Consequence: An NPE was thrown (from GTNPORTAL-1868)?
Fix: NEEDINFO How was this fixed?
Result:  MOPPortalStructuralAccess can now close the POMSession properly and the NPE no longer occurs. Added: Cause: NEEDINFO Why couldn't MOPPortalStructuralAccess close POMSession properly?
Consequence: An NPE was thrown (from GTNPORTAL-1868)?
Fix: A code change in MOPPortalStructureAccess.java requires EPP to save the session instead of closing it.
Result:  MOPPortalStructuralAccess can now close the POMSession properly and the NPE no longer occurs.


Comment 5 Chris Laprun 2011-04-29 10:08:58 UTC
Release Notes Docs Status: Removed: Needs More Info Added: Documented as Resolved Issue
Release Notes Text: Removed: Cause: NEEDINFO Why couldn't MOPPortalStructuralAccess close POMSession properly?
Consequence: An NPE was thrown (from GTNPORTAL-1868)?
Fix: A code change in MOPPortalStructureAccess.java requires EPP to save the session instead of closing it.
Result:  MOPPortalStructuralAccess can now close the POMSession properly and the NPE no longer occurs. Added: Cause: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another GateIn component, leaving that component unable to properly access JCR state.
Consequence: An NPE was thrown when other components tried to access the closed POMSession.
Fix: MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it.
Result:  Since MOPPortalStructuralAccess doesn't close the POMSession anymore, it can still be used by components upstream without issue.


Comment 6 Scott Mumford 2011-05-04 04:17:50 UTC
Release Notes Text: Removed: Cause: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another GateIn component, leaving that component unable to properly access JCR state.
Consequence: An NPE was thrown when other components tried to access the closed POMSession.
Fix: MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it.
Result:  Since MOPPortalStructuralAccess doesn't close the POMSession anymore, it can still be used by components upstream without issue. Added: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another Portal component, leaving that component unable to properly access JCR state. An NPE was thrown when other components tried to access the closed POMSession. MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it. Since MOPPortalStructuralAccess doesn't close the POMSession anymore, it can still be used by components upstream without issue.


Comment 7 Scott Mumford 2011-08-22 06:35:08 UTC
Release Notes Text: Removed: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another Portal component, leaving that component unable to properly access JCR state. An NPE was thrown when other components tried to access the closed POMSession. MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it. Since MOPPortalStructuralAccess doesn't close the POMSession anymore, it can still be used by components upstream without issue. Added: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another Portal component, leaving that component unable to properly access JCR state. An NPE was thrown when other components tried to access the closed POMSession. MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it. Since MOPPortalStructuralAccess does not close the POMSession anymore, it can still be used by components upstream without issue.


Comment 8 Scott Mumford 2011-08-23 02:38:05 UTC
Release Notes Text: Removed: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another Portal component, leaving that component unable to properly access JCR state. An NPE was thrown when other components tried to access the closed POMSession. MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it. Since MOPPortalStructuralAccess does not close the POMSession anymore, it can still be used by components upstream without issue. Added: MOPPortalStructuralAccess was improperly closing the POMSession that was under control of another Portal component, leaving that component unable to properly access JCR state. An NPE was thrown when other components tried to access the closed POMSession. MOPPortalStructureAccess now simply saves the session instead of saving *and* closing it. Since MOPPortalStructuralAccess no longer closes the POMSession, it can still be used by components upstream without issue.