Repository navigation
Conversation
|
@candrews It looks like it will automatically unbind the session from the TransactionSynchronizationManager and close the session if newSession=true. It's probably not desired when using a OSIV session. |
In Spring 4.1.0.RC2, the SpringSessionSynchronization constructor changed. See https://jira.spring.io/browse/SPR-9020 This commit ensures compatibility with Spring before 4.1.0.RC2 and after 4.1.0.RC2.
|
@candrews Have you already added a Jira issue for tracking this issue? I'd like to start working on this soon so that we get Spring 4.1 support working with Grails 2.4.x branch. |
|
I reported this to Spring Jira https://jira.spring.io/browse/SPR-12400 |
|
Should be fixed for 4.1.2: spring-projects/spring-framework@7aff5754 |
apache#41 Fixed BUG! exception in phase 'semantic analysis'
Support disabling all operations
In Spring 4.1.0.RC2, the SpringSessionSynchronization constructor changed. See https://jira.spring.io/browse/SPR-9020
This commit ensures compatibility with Spring before 4.1.0.RC2 and after 4.1.0.RC2.
The signature change to the SpringSessionSynchronization constructor was the addition of a new "bool" parameter named "newSession". Here's the commit in Spring: spring-projects/spring-framework@5cbb1fc#diff-4340a4820b773949b5258699f411324f
I'm not positive I got the logic right in my commit. I'm hoping one of you folks who knows more about this part of the Grails code can tell if the logic is right around "newSession" - I set it true always in this commit, but I don't know if that's correct.