History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QUARTZ-553
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: James House
Reporter: Mana Taghdiri
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Quartz Scheduler

JobDetail.clone() does not preserve the order of job listeners

Created: 09/Jan/07 10:26 AM   Updated: 19/Mar/07 12:45 AM
Component/s: Core, Jobs
Affects Version/s: 1.6
Fix Version/s: 1.6.1

File Attachments: 1. Text File QUARTZ-553-fix.patch (0.6 kb)
2. Text File QUARTZ-553-test.patch (0.7 kb)

Environment: all

Flags: Important


 Description  « Hide
in org.quartz.JobDetail, job listeners are stored as an ordered set. However, this order is lost by the clone() method. Thus, running some jobs invokes listeners in a wrong order.


 All   Comments   Change History      Sort Order:
Henri Yandell - [12/Jan/07 02:39 PM ]
Patch adding this to the unit tests.

Henri Yandell - [12/Jan/07 02:42 PM ]
Patch providing the fix attached.

Henri Yandell - [19/Mar/07 12:45 AM ]
 svn ci -m "Applying test and fix from QUARTZ-553 - JobDetail.clone() does not preserve the order of job listeners" src/

Sending src/java/org/quartz/JobDetail.java
Sending src/test/java/org/quartz/JobDetailTest.java
Transmitting file data ..
Committed revision 665.