[JSMODELS-14] The registration of components for use in js models fails on Java 1.8.0_66 Created: 12/Jul/17 Updated: 17/Jul/17 Resolved: 13/Jul/17 |
|
| Status: | Closed |
| Project: | Magnolia Javascript Models |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christopher Zimmermann | Assignee: | Jaroslav Simak |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
| Sprint: | Kromeriz 104 |
| Story Points: | 1 |
| Description |
|
The components registered in the config workspace under javascript-models/config/engineConfiguration/exposedComponents does not function on early versions of 1.8 To reproduce,
Suggested fix:
Error: 2017-07-12 13:18:06,972 ERROR ndering.engine.ModeDependentRenderExceptionHandler: Error while rendering [/javascript-model-samples/browse-contacts/main] with template [null] for URI [/javascript-model-samples/browse-contacts.html]: RenderException: <eval>:66 ReferenceError: "cmsfn" is not defined info.magnolia.rendering.engine.RenderException: <eval>:66 ReferenceError: "cmsfn" is not defined at info.magnolia.templating.renderers.NoScriptRenderer.onRender(NoScriptRenderer.java:106) |