[MGNLCT-76] Content type reference should be stored as UUID, not as path Created: 04/Sep/18  Updated: 19/Oct/18  Resolved: 25/Sep/18

Status: Closed
Project: Content Types
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Critical
Reporter: Christopher Zimmermann Assignee: Oanh Thai Hoang
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 7.5h
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by MGNLUI-4537 Define relationships between content ... 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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: Content types Developer Preview
Sprint: Saigon 154
Story Points: 3

 Description   

The new Content types feature which creates a UI to link one content type item to another currently stores the reference in JCR as a path. 

To be compatible with Magnolia standards, the reference should be stored as a JCR UUID.



 Comments   
Comment by Dai Ha [ 25/Sep/18 ]

Verified, latest app uses UUID as reference with link item.

Comment by Oanh Thai Hoang [ 28/Sep/18 ]

This ticket is also introduce "temporarily" asset type. This is idea to provide quick way for user to reference to asset without steps describe in https://jira.magnolia-cms.com/browse/MGNLCT-67. Reference to content type feature is continuing to improve so "temporarily" asset type may change in future

How to define:

datasource:
  workspace: test   # if omitted, same as content type name
  autoCreate: true
model:
  properties:
    - name: linkToAsset
      type: Asset 
Generated at Mon Feb 12 00:36:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.