[MGNLCT-36] Update namespace registrations Created: 22/May/18 Updated: 21/Aug/18 Resolved: 07/Jun/18 |
|
| Status: | Closed |
| Project: | Content Types |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Mikaël Geljić | Assignee: | Hieu Nguyen Duc |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 4d 5.5h | ||
| Original Estimate: | 2d | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Content types foundation | ||||||||||||||||
| Sprint: | Saigon 146, Saigon 147 | ||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Description |
|
Mind that namespaces are registered for the entire repository (and likely cannot be removed); to be checked. |
| Comments |
| Comment by Hieu Nguyen Duc [ 25/May/18 ] |
|
Namespaces are registered for entire repository. An attempt re-registering the same namespace will throw ... mapping already exists Summary of updating namespacesBased on the changes of content type, we will get namespaces that need to be registered, unregistered and updated. 1) Register new namespacesReuse JackrabbitInitializer#registerNamespaces 2) Unregister namespace:Can't do because NamespaceRegistryImpl#unregisterNamespace doesn't support /** * as we can't guarantee that there are no references to the specified * namespace (in names of nodes/properties/node types etc.) we simply * don't allow it.Bullet list */ throw new NamespaceException("unregistering namespaces is not supported."); 3) Update namespace
(To be updated)
|
| Comment by Dai Ha [ 12/Jun/18 ] |
|
QA completed, namespace can be registered/remapped fine. |