You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/07/08 16:23:48 UTC
[jira] [Resolved] (AMQ-4591) CronParser bug on getNextScheduledTime
to handle the once per minute case "* * * * *"
[ https://issues.apache.org/jira/browse/AMQ-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-4591.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.9.0
Assignee: Timothy Bish
Fixed on trunk, thanks for the patch.
> CronParser bug on getNextScheduledTime to handle the once per minute case "* * * * *"
> -------------------------------------------------------------------------------------
>
> Key: AMQ-4591
> URL: https://issues.apache.org/jira/browse/AMQ-4591
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.8.0, 5.9.0
> Environment: Any
> Reporter: Rafael Alfaro
> Assignee: Timothy Bish
> Labels: patch
> Fix For: 5.9.0
>
> Attachments: CronParser.java.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> There is a Bug on handle the once per minute case.
> For the cronentry: "* * * * *"
> The Next Scheduled time is not the top of the next minute.
> Instead, is the current Time plus 60 seconds
> The problem is that the code is trying to set the precision at seconds, but the precision must have to be at minutes.
> You can check the patch attached to see the change required to fix this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira