[MAGNOLIA-1348] add CND and namespace support to Provider/Modules Created: 07/Feb/07  Updated: 11/Mar/10  Resolved: 11/Mar/10

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 3.1 M1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Oliver Lietz Assignee: Philipp Bärfuss
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File AbstractModule.java     File AbstractModule.java.diff     Text File ModuleUtil.java     File ModuleUtil.java.diff     File Provider.java.diff     Text File ProviderImpl.java     File ProviderImpl.java.diff     File RepositoryMapping.java.diff    
Issue Links:
dependency
depends upon MAGNOLIA-1346 add namespace feature to modules, pre... Closed
relation
is related to MAGNOLIA-999 custom namespaces Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   


 Comments   
Comment by Oliver Lietz [ 07/Feb/07 ]

magnolia-core/src/main/java/info/magnolia/cms/module/ModuleUtil.java

  • new methods for registering/unregistering namespaces (unregistering implemented not yet)
  • improved registerRepository method (will register namespaces, bootstrapping extracted to own method)

Stumbled over a NPE when bootstrapping and not asking if repository was succesfully registered before:
the process was unable to find repository/workspace mapping for magnolia. This could be a hidden bug.

Comment by Oliver Lietz [ 07/Feb/07 ]

magnolia-core/src/main/java/info/magnolia/jackrabbit/ProviderImpl.java

magnolia-core/src/main/java/info/magnolia/repository/Provider.java

  • CND support added
  • several minor fixes/improvements
Comment by Oliver Lietz [ 07/Feb/07 ]

magnolia-core/src/main/java/info/magnolia/cms/module/AbstractModule.java

  • adjusted AbstractModule
Comment by Oliver Lietz [ 07/Feb/07 ]
  • keys for paramters map added (although I prefer typed config object)
Comment by Oliver Lietz [ 07/Feb/07 ]

this should fix http://jira.magnolia.info/browse/MAGNOLIA-999

Comment by Oliver Lietz [ 07/Feb/07 ]

some things are open and on my list:

  • implementing of unregister/uninstall methods
  • logging used for development should be removed or better changed to debug level
  • add missing documentation
  • overall consistency and especially exception handling should be improved
Comment by Philipp Bracher [ 08/Feb/07 ]

Important since using nodetypes for dms, .. is evident

Comment by Oliver Lietz [ 13/Jun/07 ]

patches are applied to custom-experimental branch

Comment by Oliver Lietz [ 14/Aug/07 ]

diffs for AbstractModule and ModuleUtil are out of date, functionality moved to ModuleManagerImpl

Comment by Magnolia International [ 11/Mar/10 ]

the "custom-experimental" branch referred to in this issue was moved to http://svn.magnolia-cms.com/svn/community/graveyard/namespace-and-cnd-support-experiment/
(a relevant name to start with, and since the branch is inactive, it's now considered "dead", hence the new location)

Comment by Magnolia International [ 11/Mar/10 ]

The work in this branch is outdated; with JCR 2.0, nodetype registration can be done by code (and is standard, unlike CND)
Namespace is also something we want to support at some point, especially for properties, but will mostly likely solved differently, given that we'll have a completely different tree with Magnolia 5.0

Generated at Mon Feb 12 03:26:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.