[MGNLCT-4] Register non-existing namespaces Created: 23/Feb/17  Updated: 02/Mar/17  Resolved: 02/Mar/17

Status: Closed
Project: Content Types
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Espen Jervidalo Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

See https://git.magnolia-cms.com/projects/MODULES/repos/magnolia-content-types/pull-requests/3/overview
Jackrabbit throws exception if you try to register nodetypes with yet unknown namespace.
Namespaces need to be register with an URI. What URI should be used?
Besides the exception that is thrown is swallowed. That should definitely not be the case. I'll create a follow up, as we need this commit for the others to apply.

info.magnolia.repository.DefaultRepositoryManager#registerNameSpacesAndNodeTypes
info.magnolia.jackrabbit.ProviderImpl#registerNamespace
javax.jcr.NamespaceRegistry#registerNamespace

Generated at Mon Feb 12 00:36:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.