Bug 780408 (SOA-2839)

Summary: It's possible to unregister a namespace used in a nodetype definition.
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Marek Baluch <mbaluch>
Component: EDSAssignee: Default User <jbpapp-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.ER7CC: rhauch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2839
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-24 16:26:16 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 Marek Baluch 2011-01-24 14:22:42 UTC
project_key: SOA

See linked issue.

Comment 1 Marek Baluch 2011-01-24 14:23:04 UTC
Link: Added: This issue depends MODE-1084


Comment 2 Randall Hauch 2011-01-24 16:02:52 UTC
As mentioned on MODE-1084:

Strictly speaking, the specification says it's possible to unregister a namespace that is already used. You can even re-register it with a different prefix, either at the session level (i.e., the mapping is local only to that session), or at the workspace level (the remapping appears for everyone). 

Of course in ModeShape, you have to have the correct privileges in order to unregister or register namespaces. 

So, this is not a defect. I'll leave it opened so we can discuss questions/comments/concerns, but this (as with MODE-1084) will eventually be closed as 'Rejected'.

Comment 3 Randall Hauch 2011-01-24 16:26:16 UTC
As noted in the comments, this is not a defect, but is actually allowed by the JCR specifications. Therefore, rejecting.