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
[WW-5126] use == instead of .equals in ModelDrivenInterceptor #485
Conversation
Fix logging message (for 2.5.x)
WW-4954 Moves XWorkList out of util package
(cherry picked from commit b213d58)
(cherry picked from commit be1a93b)
See also: WW-4948
WW-4948 delete temp files on close instead of on JVM exists
…retains existing behaviour by default, but provides a configuration flag users can set (to true) in order to enable usage of response (page) encoding for s:include tags. A WARN level log output is also generated for failed FastByteArrayOutputStream decoding (can be suppressed by log configuration).
… non-UTF8 content).
2.5.x backport: WW-5116 Fix wrong regex range
Applied code review comments from JCgH4164838Gh792C124B5 into account
…es-2.5.x [WW-5119] Fix: remove contention during localized text lookup (JDK 1.7+)
…on-2.5.x [WW-5121] Fix: remove contention during Scope.SINGLETON injection
due to refreshing model regardless of potential overridden Object.equals
@yasserzamani Can you explain why comparing with |
Thanks for the review @aleksandr-m ! TBH I don't have a strong reason. I've asked reporter but no answer yet. "Moreover the interceptor refresh process is based on call to the equals method and this method may have been redefined, in a JPA context for instance. The replacement is then not systematic and may not be done." he said. No user ever has asked for |
I'm good with that change, yet not sure if this supposed to be introduced into 2.5.x branch - some users can depend on this behaviour (even false one) and minor updates (as 2.5.27 will be) shouldn't introduce backward incompatibility. |
I personally feel it's pretty unlikely that this change breaks someone whose intentionally is depend on |
The case is that this is unknown till someone will report a problem after upgrading to 2.5.27, I rather would like to be careful and make such potentially breaking changes in 2.6.x. The other thing is the reporter was addressing inconsistency in documentation and he was able to overcome the issue with custom interceptor - which is perfectly fine solution. |
I agree @lukaszlenart 👍 I closed it and opened its master counterpart at #486 |
due to refreshing model regardless of potential overridden Object.equals