The Issue is that the Following line was adapted to check for the Session-Lock.
This should not happen here. Instead the Places where the Session is actually need to determine the Lock-State.
Otherwise you'll always receive a ContextNotActive exception. In our Project we've like 4500 Places to fix - This is nothing for a minor patch.
Since CDI should be automatically managed, the lock needs to be taken, if necessary.
The Issue is that the Following line was adapted to check for the Session-Lock.
This should not happen here. Instead the Places where the Session is actually need to determine the Lock-State.
Otherwise you'll always receive a ContextNotActive exception. In our Project we've like 4500 Places to fix - This is nothing for a minor patch.
Since CDI should be automatically managed, the lock needs to be taken, if necessary.