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

MCRObjectID has no isValid() method

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2016.02, 2016.06.0
    • Fix Version/s: 2016.12, 2016.06.0.1
    • Component/s: mycore-base
    • Labels:
      None

      Description

      The only way to check if a string is a valid mycore object id is to call MCRObjectID.getInstance(id) surrounded by a try/catch block. This is unnecessary complicated.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: