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

YAML configuration file - propertySets not working

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.9.0, 6.0.0
    • Fix Version/s: 6.2.0
    • Component/s: Configuration
    • Labels:

      Description

      When trying to patch the configuration we fail.

      curl -u<username>:<password> -X PATCH "http://localhost:8081/artifactory/api/system/configuration" -H “Content-Type: application/yaml” -T configuration.yml

       

      Use the yaml from the wiki example for propertySets:

      https://www.jfrog.com/confluence/display/RTF/YAML+Configuration+File

       

      The failure is:

      "Number of diffs count for primitive must be 1 PropertySet#setProperties [properties»set2property»predefinedValues»passed-QA»defaultValue=false, properties»set2property»multipleChoice=false, properties»set2property»closedPredefinedValues=false]"

        

        Attachments

          Activity

            People

            • Assignee:
              noams Noam Shemesh
              Reporter:
              rotemk Rotem Kfir
              Assigned QA:
              Alex Dvorkin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: