[
https://issues.apache.org/jira/browse/AMBARI-20968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akhil PB updated AMBARI-20968:
------------------------------
Description:
After "ember-precompile-brunch" package has been changed from "1.5.1" to
"0.1.0", ember fails to resolve view templates results in pig and capsched
views fails to render and goes blank. This patch adds custom resolver to fix
the issue.
Pig and Cap sched views are not loading :
Cap Sched :
https://172.22.106.180:8443/#/main/views/CAPACITY-SCHEDULER/1.0.0/AUTO_CS_INSTANCE
Pig : https://172.22.106.180:8443/#/main/views/PIG/1.0.0/Pig
Pig View error:
{code:java}
ember.js:15373 Error while processing route: splash Assertion Failed: Could not
find "splash" template or view. Error: Assertion Failed: Could not find
"splash" template or view.
at EmberError
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:30819:23)
at Object.Ember.assert
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:20433:15)
at Class.render
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41957:17)
at Class.renderTemplate
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/app.js:3438:10)
at apply
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:36242:27)
at Class.superWrapper [as renderTemplate]
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:35813:15)
at Class.setup
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41223:16)
at applyHook
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63552:30)
at callHook
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63546:14)
at handlerEnteredOrUpdated
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:62306:7)
{code}
was:
Pig and Cap sched views are not loading :
Cap Sched :
https://172.22.106.180:8443/#/main/views/CAPACITY-SCHEDULER/1.0.0/AUTO_CS_INSTANCE
Pig : https://172.22.106.180:8443/#/main/views/PIG/1.0.0/Pig
Pig View error:
{code:java}
ember.js:15373 Error while processing route: splash Assertion Failed: Could not
find "splash" template or view. Error: Assertion Failed: Could not find
"splash" template or view.
at EmberError
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:30819:23)
at Object.Ember.assert
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:20433:15)
at Class.render
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41957:17)
at Class.renderTemplate
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/app.js:3438:10)
at apply
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:36242:27)
at Class.superWrapper [as renderTemplate]
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:35813:15)
at Class.setup
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41223:16)
at applyHook
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63552:30)
at callHook
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63546:14)
at handlerEnteredOrUpdated
(https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:62306:7)
{code}
> Pig and CapSched views are not loading in 2.4.3
> -----------------------------------------------
>
> Key: AMBARI-20968
> URL: https://issues.apache.org/jira/browse/AMBARI-20968
> Project: Ambari
> Issue Type: Bug
> Components: ambari-views
> Affects Versions: 2.4.3
> Reporter: Akhil PB
> Assignee: Akhil PB
> Priority: Blocker
> Labels: system_test
> Fix For: 2.4.3
>
> Attachments: AMBARI-20968-branch-2.4.patch
>
>
> After "ember-precompile-brunch" package has been changed from "1.5.1" to
> "0.1.0", ember fails to resolve view templates results in pig and capsched
> views fails to render and goes blank. This patch adds custom resolver to fix
> the issue.
> Pig and Cap sched views are not loading :
> Cap Sched :
> https://172.22.106.180:8443/#/main/views/CAPACITY-SCHEDULER/1.0.0/AUTO_CS_INSTANCE
> Pig : https://172.22.106.180:8443/#/main/views/PIG/1.0.0/Pig
> Pig View error:
> {code:java}
> ember.js:15373 Error while processing route: splash Assertion Failed: Could
> not find "splash" template or view. Error: Assertion Failed: Could not find
> "splash" template or view.
> at EmberError
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:30819:23)
> at Object.Ember.assert
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:20433:15)
> at Class.render
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41957:17)
> at Class.renderTemplate
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/app.js:3438:10)
> at apply
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:36242:27)
> at Class.superWrapper [as renderTemplate]
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:35813:15)
> at Class.setup
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41223:16)
> at applyHook
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63552:30)
> at callHook
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63546:14)
> at handlerEnteredOrUpdated
> (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:62306:7)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
