Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-47

Enable setting/getting of binary properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.0.2
    • 1.0.1
    • services
    • None
    • Yes

      Reading out a DAM asset to a file, stripping out the jcr:uuid, jcr:primaryType properties and then doing a POST will not update the binary property.

      The problem is in PropertyUtil.createValue() where conversion of the submitted String to a Binary Value object should be done but isn't.

      Getting/setting binary properties should always occur base64 encoded.

        Acceptance criteria

          1. asset_jcrContent.json
            7 kB
          2. asset.json
            0.9 kB
          3. test.json
            6 kB

              pmundt Philip Mundt
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD