[jboss-jira] [JBoss JIRA] Closed: (JBPM-447) Incorrect task due date parsing.
Tom Baeyens (JIRA)
jira-events at lists.jboss.org
Wed Apr 18 05:02:30 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-447?page=all ]
Tom Baeyens closed JBPM-447.
----------------------------
Resolution: Won't Fix
the construct 'and' is not supported. see the docs.
i have improved the exception message in case the wrong format is given.
> Incorrect task due date parsing.
> --------------------------------
>
> Key: JBPM-447
> URL: http://jira.jboss.com/jira/browse/JBPM-447
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Reporter: Konstantin Kolev
> Assigned To: Tom Baeyens
>
> According to xsd schema it should be possible to parse task duration defined like: "3 business hours and 15 minutes". It is not possible however. The problem is that the duration string is trimed with "3 business " and a map is looked up for key "hours and 15 minutes", the map contains keys like hour, hours , minute, minutes, week, weeks, month, months and so on (see the class Duration). Finally a null pointer exception is thrown in the constructor of the class Duration: Duration(String duration) on its last line.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list