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

FieldValidationError usage incorrect in many tasks

    Details

    • Templates:
    • Story Points:
      1
    • Sprint:
      AP S19-5
    • Team:
      Alert Production

      Description

      While looking up how to use FieldValidationError, I discovered that several of our existing instantiations of it are incorrect and would thus raise an exception themselves! It takes (field, config, msg), and I found 4 uses that just pass msg.

      It is probably worth cleaning up the docstrings of this custom exception at the same time.

        Attachments

          Activity

            People

            • Assignee:
              Parejkoj John Parejko
              Reporter:
              Parejkoj John Parejko
              Reviewers:
              Tim Jenness
              Watchers:
              John Parejko, John Swinbank, Jonathan Sick, Kian-Tat Lim, Tim Jenness, Yusra AlSayyad
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel