Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-3970

ChoiceField validation includes duplicate in error message

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pex_config
    • Labels:
      None
    • Templates:
    • Story Points:
      0.1
    • Sprint:
      Science Pipelines DM-W16-1
    • Team:
      Data Release Production

      Description

      For example:

      lsst.pex.config.config.FieldValidationError: ChoiceField 'op' failed validation: Value foo is not allowed.
              Allowed values: {mul, mul, add, sub, div, None}
      

      (Note the repeated mul).

        Attachments

          Activity

            People

            • Assignee:
              swinbank John Swinbank
              Reporter:
              swinbank John Swinbank
              Reviewers:
              Tim Jenness
              Watchers:
              John Swinbank, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel