Create proper types hosting constants and utils for our jcr nodeTypes and their properties (MAGNOLIA-4651)

[MAGNOLIA-4680] Add checks for proper NodeTypes Created: 20/Nov/12  Updated: 11/Feb/13  Resolved: 28/Nov/12

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

Type: Sub-task Priority: Neutral
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:

 Comments   
Comment by Jan Haderka [ 23/Nov/12 ]
 <nodeType name="mgnl:contentNode" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
 131     <supertypes>
 132       <supertype>nt:hierarchyNode</supertype>
 133       <supertype>mix:referenceable</supertype>
 134       <supertype>mgnl:created</supertype>
 135       <supertype>mgnl:renderable</supertype>
 136       <supertype>mgnl:activatable</supertype>
 137  

seems to be wrong. ContentNode is parent for area/component which should never be activatable on their own. Only pages can be activated.

Please no more TODOs:

+            // TODO dlipp: re-use by forwarding to existing method: caution - will trigger AuditLog...
             LastModifiedMixin.updateModification(node, userName, created);

I see the ContentOp.createParagraph() and other tests being removed, but didn't see what happened to the API itself. Is that covered by other ticket?

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