Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5963

MockValue shouldn't throw ValueFormatException when getting a valid Long value as String

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.3.5
    • None
    • testing
    • None

      When getting a Long (org.apache.jackrabbit.value.BaseValue#getLong()) from a jackrabbit value the internal string will be parsed Long.parseLong() and returned.

      Our info.magnolia.test.mock.jcr.MockValue will throw a ValueFormatException instead.

        Acceptance criteria

              pmundt Philip Mundt
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD