Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-897

Wrong format for org.joda.time.LocalDateTime

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: core-1.6.0
    • Fix Version/s: core-1.8.0
    • Component/s: Core: Viewer: Wicket
    • Labels:
      None

      Description

      Using https://github.com/danhaywood/isis-kitchensink I tried to edit org.joda.time.LocalDateTime (Date > First > Edit > select a date from the picker > Save).

      It fails with:

      Caused by: java.lang.IllegalArgumentException: Invalid format: "20140925T000000.000" is too short
      at org.joda.time.format.DateTimeFormatter.parseLocalDateTime(DateTimeFormatter.java:828)
      at org.apache.isis.core.metamodel.facets.value.datetimejodalocal.JodaLocalDateTimeValueSemanticsProvider.parse(JodaLocalDateTimeValueSemanticsProvider.java:251)
      at org.apache.isis.core.metamodel.facets.value.datetimejodalocal.JodaLocalDateTimeValueSemanticsProvider.doRestore(JodaLocalDateTimeValueSemanticsProvider.java:244)
      ... 86 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: