WCMMode disabled is incorrect in publisher
Hi all,
Our AEM 6.5 publisher cannot detect the correct WCMMode. The start script runs with an option "
-Dsling.run.modes=publish,dev,crx3,crx3tar,nosamplecontent".
JSP code segment:
boolean isWcmDisabled = WCMMode.fromRequest(request) == WCMMode.DISABLED;
The isWcmDisabled is false in publisher, should be true. Now all the wrong preloads are coming up.
It is working on AEM 6.0. Any idea?
Thanks!
-kt