Details
-
Story
-
Resolution: Obsolete
-
Neutral
-
-
Empty show more show less
Description
Propose a "canonical" format for JCR (or any) references.
One of the requirements is that, just from the property value, you know where to get the item.
(currently not the case with link-fields, as workspace is not part of the property value)
jcr:workspace:uuid
my-item [mgnl:content] * foo = bar * image = jcr:dam:cafebabe-cafe-babe-cafe-cafebabe
jcr:workspace:path
my-item [mgnl:content] * foo = bar * image = jcr:dam:/images/item.png
node-based reference?
my-item [mgnl:content]
* foo = bar
* image [mgnl:reference]
* type: jcr
* workspace: dam
* uuid: cafebabe-cafe-babe-cafe-cafebabe
1. We should also keep multi-value references in mind.
2. Does it make sense to have more than one default? and define precedence between few reference formats?
Checklists
Acceptance criteria