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

Verify and fix database vs. validation constraint inconsistencies

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • RAZOR 0.14.1
    • RAZOR 0.15.0
    • Server
    • None

    Description

      Database constraints and validation constraints do not always match up. Recently, the `create-policy` command had some discrepancies between what the validation framework considered to be required attributes and what the database required.

      It will be helpful to add automated spec testing for required attributes that commands can harness. This should should test, at the least:

      • That the command passes with the minimum (required) attributes provided
      • That the command fails when any single required attribute is removed

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support