Uploaded image for project: 'MyCoRe'
  1. MCR-1346

the isValid() method is insufficient -> add validate() throws MCRException

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2016.12
    • Component/s: None
    • Labels:
      None

      Description

      The isValid() method of MCRBase and its object descendents (like MCRObject, MCRMetaDefault ...) does not help if the XML is invalid. It just returns a boolean value which cannot represent a concrete error.

      Add a validate() throws MCRException method which lets the developer see what truly went wrong.

        Attachments

          Activity

            People

            • Assignee:
              mcrmeich Matthias Eichner
              Reporter:
              mcrmeich Matthias Eichner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: