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

Key: QUARTZ-606
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Henri Yandell
Reporter: Marko Lahma
Votes: 0
Watchers: 0
Operations

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

RamJobStore.storeTrigger incorrectly removes JobDetail when replacing trigger

Created: 31/Jul/07 10:23 AM   Updated: 07/Sep/07 09:51 AM
Component/s: Job Stores
Affects Version/s: None
Fix Version/s: 1.6.1

File Attachments: 1. Text File QUARTZ-606.patch (4 kb)
2. Text File RamJobStore_StoreTrigger_Replace_TestCase.txt (1 kb)

Issue Links:
Container
This issue contains:
QRTZNET-27 RamJobStore.StoreTrigger incorrectly ... Major Closed
 


 Description  « Hide
See QRTZNET-27

This was fixed by adding private overload that takes parameter deleteOrpahanedJob that default to true and storeTrigger calls it with false. This boolean is then checked when deciding whether to remove job.

 All   Comments   Change History      Sort Order:
Marko Lahma - [31/Jul/07 10:23 AM ]
Attached a test case for RamJobStoreTest that describes the problem

Henri Yandell - [04/Sep/07 07:33 AM ]
Patch with Marko's test integrated into the unit tests and a Marko's suggested fix.

Henri Yandell - [04/Sep/07 07:33 AM ]
As there's a patch - assigning to 1.6.1 for discussion.

Henri Yandell - [07/Sep/07 09:51 AM ]
svn ci -m "Applying the patch from QUARTZ-606 based on Marko's suggested change in Quartz.NET" src
Sending src/java/org/quartz/simpl/RAMJobStore.java
Sending src/test/java/org/quartz/simpl/RAMJobStoreTest.java
Transmitting file data ..
Committed revision 722.

svn ci -m "Applying the patch from QUARTZ-606 based on Marko's suggested change in Quartz.NET" src
Sending src/java/org/quartz/simpl/RAMJobStore.java
Sending src/test/java/org/quartz/simpl/RAMJobStoreTest.java
Transmitting file data ..
Committed revision 723.