Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-279

Calling a method with strings as Enum parameters only works once

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3-milestone-1
    • 4.2
    • Velocity
    • None
    • N/A
    • N/A

    Description

      For example:

      $doc.documentReference.extractReference('WIKI')
      $doc.documentReference.extractReference('SPACE')
      

      The first call succeeds, but the second one will throw an exception.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: