Replies: 1 comment 1 reply
-
There is a version Note that this is a 4 digit version number (and not the usual 3). I did that to release it quickly and there was no matching release of ebean-agent, ebean-gradle-plugin, ebean-maven-plugin etc - we need to just use 13.17.1 version of those. I will add that fix and release a full 13.17.2 version of everything shortly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @rbygrave we were using ebean orm 13.17.0 and started noticing this problem in our application after we upgraded to 13.17.1
It looks like a map is getting toStringed and modified at the same time. This seems to be a map that ebean maintains so we are not sure how to resolve this while remaining on 13.17.1. So for now we rolled back to 13.17.0
It wasn't obvious why this problem was happening after the upgrade so we looked at the change log:
13.17.0...13.17.1
There was a change made to DefaultBeanLoader.java in 13.17.1 which is probably related. This was added:
final String batchBefore = String.valueOf(batch);
and used below:Would it be possible to make a change on your end to wrap
final String batchBefore = String.valueOf(batch);
inside an if condition that checks if DEBUG is enabled for "markAsDeleted" ? Presumably DEBUG would not be enabled in our environment so we wouldn't try to serialize the map to a String and not execute the problematic codepath. It's also probably a good thing for performance to not incur the cost of that line regardless of whether DEBUG is on or not. This wouldn't resolve the root cause, but it would probably address our problem if by default ebean orm doesn't run in DEBUG mode for "markAsDeleted".Please let me know if it makes sense and if a fix could be released for this.
Thank you,
Yassine
Beta Was this translation helpful? Give feedback.
All reactions