[
https://issues.apache.org/jira/browse/MESOS-6850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798636#comment-15798636
]
haosdent commented on MESOS-6850:
---------------------------------
hi, [~codecraig] this should be fixed in
https://issues.apache.org/jira/browse/MESOS-6624 May you mind take a look?
> UI does not work because of strict mode related error
> -----------------------------------------------------
>
> Key: MESOS-6850
> URL: https://issues.apache.org/jira/browse/MESOS-6850
> Project: Mesos
> Issue Type: Bug
> Components: webui
> Affects Versions: 1.1.0
> Environment: Firefox 38.7
> Reporter: Craig W
> Priority: Blocker
>
> After upgrading from Mesos 0.28.2 to Mesos 1.1.0, the UI is not functioning
> properly.
> The top menu bar appears, but on the far right it says {{state.cluster}}. In
> the main body of the page, it just says "No master is currently leading...".
> If I open the web console, I see an error:
> SyntaxError: in strict mode code, functions may be declared only at top level
> or immediately within another function
> It points to [line 845 in
> controllers.js|https://github.com/apache/mesos/blame/1.1.0/src/webui/master/static/js/controllers.js#L845].
> The current work around I have is to remove the "use strict" statement in
> app.js and controllers.js but this requires a custom post-install script on
> my behalf when setting this up on a cluster.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)