Skip to content

Add null check to enable creation of triggers without JobDetail. #896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

bendiscz
Copy link

This change allows SimpleTriggerFactoryBean and CronTriggerFactoryBean to create triggers without associated job details. This is something that we need in our project (we are using spring to configure triggers, but we associate them with jobs programmatically) and it worked fine in Spring 3.x.

Issue: SPR-13604

I have signed and agree to the terms of the Spring Individual Contributor
License Agreement.

@snicoll
Copy link
Member

snicoll commented Jan 19, 2016

Thanks for the PR: this was fixed as part of 2970065 (I see no reason to not set the jobDataMap if the details are not set).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants