Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15190

Consolidate validation methods in metadata manager

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.2.0
    • Extensions

      Use a single method to access all validation options in metadata manager. Now, some options have their own function, while others share a single validate method.
      Also, with the current implementation, you should not call validate without calling get_metadata first, as get_metadata is the only way to do the file loading (any call to validate without calling get_metadata first will result in an exception being raised even if the metadata is correct).

            Unassigned Unassigned
            javiexin javiexin [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: