Hide Forgot
project_key: JBEPP In classic portal there are banner and footer portlets by default. If you click edit layout and edit any of these portlets -> it has Preferences tab with Template. If you change value of template to anything -> nothing happens. Btw. if I add banner or footer portlet on some page and Edit page + edit portlet, it doesn't have Preferences tab anymore. Another example: - Breadcrumbs portlets has two preferences as well, but when I edit this porltet in layout -> there is no Preferences tab.
Attachment: Added: banner_and_footer_preferences.png
Sorry, there is one change. If you change Template value it take effect, but after signing out. So this should be changed immediately. And what about some validation of Template input? Is it possible so that it could validate template path?
One more comment: - if you change value of footer portlet from par:/groovy/groovy/webui/component/UIFooterPortlet.gtmpl to "text in footer" - it is saved properly, finish Edit Layout - sign out Error in log: 08:36:29,140 ERROR [FutureCache] Computing of resource org.exoplatform.resolver.ResourceKey@d2ace7e5 threw an exception java.lang.NullPointerException: No null input stream accepted at org.exoplatform.commons.utils.IOUtil.getStreamContentAsBytes(IOUtil.java:153) at org.exoplatform.groovyscript.text.TemplateService$1.retrieve(TemplateService.java:76) at org.exoplatform.groovyscript.text.TemplateService$1.retrieve(TemplateService.java:69) at org.exoplatform.commons.cache.future.FutureCache$1.call(FutureCache.java:83) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at org.exoplatform.commons.cache.future.FutureCache.get(FutureCache.java:117) at org.exoplatform.groovyscript.text.TemplateService.getTemplate(TemplateService.java:154) ... 08:36:29,142 ERROR [portal:Lifecycle] Template: text in footer not found.
Release Notes Docs Status: Removed: Not Required Added: Documented as Known Issue Release Notes Text: Added: Editing the Template field of the banner or footer portlet preferences to any non-default value can result in changes not being validated as the portlets, by default, require a groovy template.
More a feature request rather than a bug, not assigning to any particular release. No need for release note
Release Notes Docs Status: Removed: Documented as Known Issue Added: Not Required