Uploaded image for project: 'Validation Module'
  1. Validation Module
  2. VM-1

Validation module should include a feature to validate all metadata

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Complexity:
      Medium

      Description

      The validation module has turned out to be a highly necessary and utilized module in the 1.9 world, given how much more we have started validating objects in 1.9.

      However, it is not reaching its fully potential because it requires users to actively choose the type of metadata they want to validate and run it manually. This defaults to "org.openmrs.Concept", and having watched a number of our users use the module, then almost never vary this field (or know that they can, or know what other options are available).

      It would be preferable to have the following new features in the module which:

      • Finds every registered Validator within OpenMRS, gets the class supported by each Validator, and constructs a List of these to present to the user to choose from
      • Provides an option to choose multiple Object types at once, as well as a convenience to choose "All Metadata", which chooses all types that implement OpenmrsMetadata and Concept.
      • Changes the Validation results page - rather than showing each individual thread that needs to be clicked on, instead group results by class, followed by exception class. eg:
      • Concept (Running... 10000/15000 validated)
        • Success (9995)
        • Failure (5)
          • DuplicateConceptNameException (5)
            • WEIGHT (KG) - 5089 (this is a link to the edit concept page for this concept)
            • 4 more here, where each failed item should include a link to the page on which that item can be edited and cleaned up, if possible.

        Attachments

          Activity

            People

            Assignee:
            isharapremadasa Ishara Premadasa
            Reporter:
            mseaton Mike Seaton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified