[MGNLEESOLR-101] mteSolrSearchResult page template throws freemarker error Created: 07/Apr/16  Updated: 11/Apr/16  Resolved: 11/Apr/16

Status: Closed
Project: Solr Search Provider
Component/s: None
Affects Version/s: 5.0.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLEESOLR-96 Change i18n keys used from MTE and fi... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

On Magnolia 5.4.5 (mte 0.9) I see the following template error

FreeMarker template error

The following has evaluated to null or missing:
==> def.cssFiles [in template "mte/templates/pages/main.ftl" at line 13, column 12]



 Comments   
Comment by Richard Gange [ 07/Apr/16 ]

info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition does not have a cssFiles configuration option

Comment by Richard Gange [ 07/Apr/16 ]

To workaround this issue change the class property on mteSolrSearchResult to info.magnolia.templating.definition.PageTemplateDefinition

Comment by Milan Divilek [ 11/Apr/16 ]

Already fixed as part of MGNLEESOLR-96

Generated at Mon Feb 12 11:00:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.