Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-897

Wrong format for org.joda.time.LocalDateTime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.6.0
    • core-1.8.0
    • Viewer Wicket
    • 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

            Unassigned Unassigned
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: