Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9002

New Admin UI's File screen cannot display JSON and TXT files

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0
    • 6.2, 7.0
    • None
    • None

    Description

      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.

      "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
      "
      

      The same functionality works in the old Admin UI.

      Attachments

        1. json file blank screen.png
          391 kB
          Alexandre Rafalovitch
        2. SOLR-9002.patch
          2 kB
          Upayavira
        3. SOLR-9002.patch
          2 kB
          Upayavira
        4. SOLR-9002.patch
          2 kB
          Upayavira
        5. SOLR-9002.patch
          0.5 kB
          Upayavira

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arafalov Alexandre Rafalovitch
            arafalov Alexandre Rafalovitch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment