You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2014/09/23 23:57:33 UTC

[jira] [Commented] (ISIS-897) Wrong format for org.joda.time.LocalDateTime

    [ https://issues.apache.org/jira/browse/ISIS-897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145521#comment-14145521 ] 

Dan Haywood commented on ISIS-897:
----------------------------------

Yup, I've noticed a few similar issues... I saw this same error when I wrote the code for the choices/dropdown, which is why I commented it out.

I really should've put a kitchensink together before now.  Better late than never.

With respect to ISIS-537, so long as we can get to parity with what's working right now, I'll be happy.  If we can fix a few of these issues along the way, so much the better.

> Wrong format for org.joda.time.LocalDateTime
> --------------------------------------------
>
>                 Key: ISIS-897
>                 URL: https://issues.apache.org/jira/browse/ISIS-897
>             Project: Isis
>          Issue Type: Bug
>    Affects Versions: core-1.6.0
>            Reporter: Martin Grigorov
>            Assignee: Dan Haywood
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)