Uploaded image for project: 'References (closed)'
  1. References (closed)
  2. MGNLREF-2

Propose new canonical format for storing references

    XMLWordPrintable

Details

    • Story
    • Resolution: Obsolete
    • Neutral

    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

        Attachments

          Activity

            People

              Unassigned Unassigned
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: