Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-191

Validation should be more precise about what has failed, for nested structures

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • RAZOR 0.14.1
    • RAZOR 0.15.0
    • QA, Server
    • None
    • 2
    • April 9, April 23
    • Normal

    Description

      The error message for the 'references' validation is not helpful. For example, in create-policy, if one of `repo`, `broker`, or `task` does not match an existing entity, the error message will be the same regardless of which entity did not match:

      attribute name must refer to an existing instance
      

      This should instead be more qualified, reading e.g.:

      attribute broker.name must refer to an existing instance
      

      Attachments

        Issue Links

          Activity

            People

              phong Phong Ly
              scott.mcclellan Scott McClellan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support