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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD