Affects Version/s: 7.1.0 CE GA1, 7.1.10 DXP GA1, 7.1.10 DXP FP1, 7.1.10 DXP FP2, 7.1.10 DXP FP3, 7.1.1 CE GA2, 7.1.10 DXP FP4, 7.1.10 DXP FP5, 184.108.40.206 SP1, 7.1.2 CE GA3, 7.1.10 DXP FP6, 7.1.10 DXP FP7, 7.1.10 DXP FP8
Currently, the only time scoped beans are destroyed is when the async RESOURCE_PHASE completes.
However, scoped beans must be destroyed in the non-asnyc case as well or else methods annotated with @PreDestroy will not be called.
- Deploy the attached WAR to $LIFERAY_HOME/deploy and add the portlet named "
LPS-91404" to a portal page.
- Reload the page
In the console log, the following should appear:
Specifically, it's the presence of the preDestroy one that verifies that this issue is fixed.
The preDestroy line does not appear in the log.