[jboss-jira] [JBoss JIRA] Commented: (JBPM-447) Incorrect task due date parsing.

Ronald van Kuijk (JIRA) jira-events at lists.jboss.org
Tue Mar 6 12:48:24 EST 2007


    [ http://jira.jboss.com/jira/browse/JBPM-447?page=comments#action_12355153 ] 
            
Ronald van Kuijk commented on JBPM-447:
---------------------------------------

is this still a problem with 3.1 or 3.2? Reporter, please confirm

> 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