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

[ModifyAware] Noticed that this boolean parameter was ignored. #1041

Merged
merged 1 commit into from Jun 19, 2017
Merged

[ModifyAware] Noticed that this boolean parameter was ignored. #1041

merged 1 commit into from Jun 19, 2017

Conversation

KoenDG
Copy link
Contributor

@KoenDG KoenDG commented Jun 9, 2017

After some quick analysis, implemented the way it probably should be used.

Of course, this could have been on purpose, please advise. There are 2 places in the production code where this is used, once with true, once with false.

Here: https://github.com/ebean-orm/ebean/blob/master/src/main/java/io/ebeaninternal/server/type/ScalarTypeArraySet.java#L126

And here: https://github.com/ebean-orm/ebean/blob/master/src/main/java/io/ebeaninternal/server/type/ScalarTypeJsonSet.java#L77

And I personally don't have a way of testing the influence of this change. It just seemed like the parameter was ignored.

After some quick analysis, implemented that way it probably should be used.

Of course, this could have been on purpose, please advise.
@rbygrave rbygrave added this to the 10.3.2 milestone Jun 19, 2017
@rbygrave rbygrave added the bug label Jun 19, 2017
@rbygrave rbygrave assigned rbygrave and KoenDG and unassigned rbygrave Jun 19, 2017
@rbygrave
Copy link
Member

Thanks. Yes, I think the use in ScalarTypeArraySet needs to pass true so I'll look to change that.

@rbygrave rbygrave merged commit 5a3669e into ebean-orm:master Jun 19, 2017
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.

None yet

2 participants