[MGNLDAM-73] Create property const. in DamNodeType Created: 21/Dec/12  Updated: 11/Feb/13  Resolved: 21/Jan/13

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Task Priority: Neutral
Reporter: Eric Hechinger Assignee: Tobias Mattsson
Resolution: Fixed Votes: 0
Labels: dam_review, frontend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLDAM-72 Add missing field to the Dam Asset di... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Create const. in DamNodeType for:
Asset properties like name, title, ....

Use these const. in Migration task and Asset app



 Comments   
Comment by Daniel Lipp [ 18/Jan/13 ]

The type should be consistent with NodeTypes from core so
a) it should be called DamNodeTypes (right now there's only on defined in that class, but this could change soon - also see javadoc)
b) property names shouldn't be prefixed with PROPERTY_TYPE - like in NodeTypes

Comment by Tobias Mattsson [ 21/Jan/13 ]

The property info.magnolia.dam.DamNodeTypes.Asset#PROPERTY_NAME still uses the PROPERTY_ prefix due to a naming conflict with the already existing NAME property holding the name of the asset node type (mgnl:asset).

Generated at Mon Feb 12 04:56:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.