Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
Description
Step to reproduce:
- Add a RSS Publisher widget to widget page
- Navigate to RSS Publisher configuration
- Add a Title and URL
- Click on Display Settings tab
- Select Navigation as Menu Display
- Close the modal
2022-11-22 19:47:08.756 ERROR [http-nio-8080-exec-8][runtime:59] Error executing FreeMarker template freemarker.core._MiscTemplateException: Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans. Left hand operand is a number (wrapper: f.t.SimpleNumber). Right hand operand is a string (wrapper: f.t.SimpleScalar). The blamed expression: ==> rssFeedEntry_index >= entriesPerFeed!4?number [in template "20097#20123#43275" at line 28, column 71] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if (rssFeedEntry_index >= entriesPer... [in template "20097#20123#43275" at line 28, column 65] ---- at freemarker.core.EvalUtil.compare(EvalUtil.java:303) ~[?:?] at freemarker.core.EvalUtil.compare(EvalUtil.java:115) ~[?:?] at freemarker.core.ComparisonExpression.evalToBoolean(ComparisonExpression.java:78) ~[?:?] at freemarker.core.ParentheticalExpression.evalToBoolean(ParentheticalExpression.java:35) ~[?:?] at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) ~[?:?] at freemarker.core.Environment.visit(Environment.java:367) ~[?:?] at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:329) ~[?:?]
Evidence: (ActualResult_Nov22_LPS169370_master.mp4
)
Expected Results:
The template is successfully loaded.
Current Results:
An error occurred while processing the template.
Reproduced on:
Tomcat 9.0.65 + MySQL 8.0 Portal master GIT ID: fb2f2d6cc318ef108e21bfc615b4e09dcbff907e
Cannot be reproduced on:
Tomcat 9.0.65 + MySQL 8.0. Liferay DXP 7.4.13 U51
Attachments
Issue Links
- is caused by
-
LPS-169067 RSS Navigation display template fails to load
- Closed