Skip to content
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

Fix @DataBoundSetter on wrong setter #273

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Fix @DataBoundSetter on wrong setter #273

merged 1 commit into from
Mar 6, 2024

Conversation

jonesbusy
Copy link
Contributor

Fix #271

Testing done

Tested via #264

Test is ignored, but work after this change. We can merge this as a "bug" and then merge the test PR

Submitter checklist

@jonesbusy jonesbusy requested a review from a team as a code owner March 6, 2024 04:31
@repolevedavaj repolevedavaj merged commit d0fd0a9 into jenkinsci:main Mar 6, 2024
16 checks passed
@jonesbusy jonesbusy deleted the bugfix/databound-setter branch March 6, 2024 07:56
@SuppressWarnings("unused")
public void setSkipRestore(boolean skipRestore) {
this.skipRestore = skipRestore;
}

@DataBoundSetter
@SuppressWarnings("unused")
public boolean setSkipRestore() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be getSkipRestore ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea... There was some mix-up with getter/setter.

I've reactivated the test and should fix the issue on #274

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

Successfully merging this pull request may close these issues.

JobCacher Plugin causes exception when displaying JobDSL online documentation
3 participants