| Summary: | Banner and footer portlets - template preference | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Michal Vanco <mvanco> | ||||
| Component: | unspecified | Assignee: | Default User <jbpapp-maint> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.1.0.ER03 | CC: | epp-bugs, mvecera | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-592 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-01-11 11:48:42 UTC | Type: | Feature Request | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Michal Vanco
2010-10-29 12:17:21 UTC
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 |