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

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.5
    • Component/s: testing
    • Labels:
      None
    • Magnolia Release:
      5.3.5

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: