[ 
https://issues.apache.org/jira/browse/SOLR-9002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257851#comment-15257851
 ] 

Alexandre Rafalovitch commented on SOLR-9002:
---------------------------------------------

Highlight is working now, but the color scheme does not match either old format 
or the one in Zookeeper tree view. 

The issue seems the CSS class. The patch causes it to be "language-javascript", 
where the other two examples use "language-json".

> New Admin UI's File screen cannot display JSON files
> ----------------------------------------------------
>
>                 Key: SOLR-9002
>                 URL: https://issues.apache.org/jira/browse/SOLR-9002
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 6.0
>            Reporter: Alexandre Rafalovitch
>            Assignee: Upayavira
>         Attachments: SOLR-9002.patch, SOLR-9002.patch, json file blank 
> screen.png
>
>
> Default cloud example. Looking at the *params.json* file in the New Admin UI 
> shows empty screen and an Angular stack trace in the console.
> {noformat}
> "Error: [$sce:itype] Attempted to trust a non-string value in a content 
> requiring a string: Context: html
> http://errors.angularjs.org/1.3.8/$sce/itype?p0=html
> minErr/<@http://localhost:6001/solr/libs/angular.js:86:12
> trustAs@http://localhost:6001/solr/libs/angular.js:15167:1
> @http://localhost:6001/solr/libs/angular.js:15918:16
> $parseFilter@http://localhost:6001/solr/libs/angular.js:12168:14
> regularInterceptedExpression@http://localhost:6001/solr/libs/angular.js:12855:21
> expressionInputsWatch@http://localhost:6001/solr/libs/angular.js:12783:24
> $RootScopeProvider/this.$get</Scope.prototype.$digest@http://localhost:6001/solr/libs/angular.js:14240:34
> $RootScopeProvider/this.$get</Scope.prototype.$apply@http://localhost:6001/solr/libs/angular.js:14511:13
> timeout/timeoutId<@http://localhost:6001/solr/libs/angular.js:16237:25
> completeOutstandingRequest@http://localhost:6001/solr/libs/angular.js:4925:7
> Browser/self.defer/timeoutId<@http://localhost:6001/solr/libs/angular.js:5305:7
> "
> {noformat}
> The same functionality works in the old Admin UI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to