Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20935

Update Item Properties concatenates first 4k chars when a list of values is given for same key

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Properties, REST API
    • Labels:
      None

      Description

      Steps to reproduce:
      1. Run the following REST API with the attached JSON:

      curl -uadmin:password -XPATCH "http://localhost:8081/artifactory/api/metadata/REPO/FILE" -T property.json -vvL
      

      2. Inspect how the properties are attached to the file. We attempted to attached 4 property values to the key "cof.scan2", nonetheless only 3 got attached.

      In reality what happened, is that the first 4K chars that were supposed to get attached on the artifact got attached. Anything further didn't.

      Workaround:
      If possible, use the "Set Item Properties" REST API.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arielk Ariel Kabov
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: