Details
-
Bug
-
Resolution: Solved By
-
Critical
-
None
-
12.7-rc-1
-
None
-
18.04.5 LTS
DEB-Installation
Tomcat8
Java - 1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
-
Unknown
-
Description
After updating to 12.7-RC1 I have the following Warning in the catalina.out logs:
25-Aug-2020 08:16:10.315 WARNUNG [ajp-nio-127.0.0.1-8009-exec-10 - http://wiki.johanneswerk.de/bin/jsx/XWiki/Notifications/Code/NotificationsFiltersPreferencesMacro?language=de&docVersion=4.1] com.google.javascript.jscomp.LoggerErrorManager.println xwiki:XWiki.Notifications.Code.NotificationsFiltersPreferencesMacro:85: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
{{ 85| for (var i = 0; i < nodes.length; ++i) {}}
{{ ^^^}}
25-Aug-2020 08:16:10.315 WARNUNG [ajp-nio-127.0.0.1-8009-exec-10 - http://wiki.johanneswerk.de/bin/jsx/XWiki/Notifications/Code/NotificationsFiltersPreferencesMacro?language=de&docVersion=4.1] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 1 warning(s)
2020-08-25 08:16:10,316 [ajp-nio-127.0.0.1-8009-exec-10 - http://wiki.johanneswerk.de/bin/jsx/XWiki/Notifications/Code/NotificationsFiltersPreferencesMacro?language=de&docVersion=4.1] WARN c.x.x.w.s.JsExtension - Warning at line [85], column [40]: [unreachable code]
I checked the version of XWiki/Notifications/Code/NotificationsFiltersPreferencesMacro and set it to the one from 12.7-rc1, as it was on 12.4-rc1.
The warning persists.
If you need more information, let me know.
Attachments
Issue Links
- depends on
-
XWIKI-17688 Cannot create a Notification filter with multiple page
- Closed
- is related to
-
XWIKI-13775 Replace YUICompressor by something else for JavaScript minification
- Closed