Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 6.2, master (7.0)
    • Component/s: Admin UI
    • Labels:
      None

      Description

      When viewing the Zookeeper configuration, the managed-schema file is displayed without HTML encoding. This results in only the inner text of the configuration elements being displayed, rather than the full XML structure. This only applies to the New UI.

        Issue Links

          Activity

          Hide
          erickerickson Erick Erickson added a comment -

          The managed schema in general doesn't play nice with either the old or new Admin UI if you have an xml colorizer installed in the browser either, is there a way we can do something about that too?

          Show
          erickerickson Erick Erickson added a comment - The managed schema in general doesn't play nice with either the old or new Admin UI if you have an xml colorizer installed in the browser either, is there a way we can do something about that too?
          Hide
          arafalov Alexandre Rafalovitch added a comment -

          Is this for collection/files screen? If so, the problem is gone in the latest (Angular) Admin UI in master. In fact, I think it might have been fixed as a sideproduct of SOLR-6992 even earlier.

          Show
          arafalov Alexandre Rafalovitch added a comment - Is this for collection/files screen? If so, the problem is gone in the latest (Angular) Admin UI in master. In fact, I think it might have been fixed as a sideproduct of SOLR-6992 even earlier.
          Hide
          kakrofoon David Johnson added a comment -

          Alexandre Rafalovitch The files actually view correctly under Collections->Files, at least they do as of SOLR 6.0.1. They still do not view correctly under the cloud file viewer (Cloud->Tree->Configs). This does give me a pretty good avenue for copying a solution to the issue, however.

          Show
          kakrofoon David Johnson added a comment - Alexandre Rafalovitch The files actually view correctly under Collections->Files, at least they do as of SOLR 6.0.1. They still do not view correctly under the cloud file viewer (Cloud->Tree->Configs). This does give me a pretty good avenue for copying a solution to the issue, however.
          Hide
          arafalov Alexandre Rafalovitch added a comment -

          I see this (in master too). Actually, it seems that if you click on another XML file in that view first and then click on managed-schema, it works. So, there is a workaround for now, but also it is clear that the missing part is name->type mapping somehow.

          Show
          arafalov Alexandre Rafalovitch added a comment - I see this (in master too). Actually, it seems that if you click on another XML file in that view first and then click on managed-schema, it works. So, there is a workaround for now, but also it is clear that the missing part is name->type mapping somehow.
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user arafalov opened a pull request:

          https://github.com/apache/lucene-solr/pull/57

          SOLR-8645: managed-schema is XML type

          Cover the special case of no-extension known-name file.
          It was already done in the Files view, but missed in the Cloud/Tree one.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/arafalov/lucene-solr-contributions alex-SOLR-8645

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/lucene-solr/pull/57.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #57


          commit 77ddaa25d9dabe25d0b36a145b603f94eb8889ab
          Author: Alexandre Rafalovitch <arafalov@gmail.com>
          Date: 2016-07-28T01:41:06Z

          SOLR-8645: managed-schema is XML type
          Cover the special case of no-extension known-name


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user arafalov opened a pull request: https://github.com/apache/lucene-solr/pull/57 SOLR-8645 : managed-schema is XML type Cover the special case of no-extension known-name file. It was already done in the Files view, but missed in the Cloud/Tree one. You can merge this pull request into a Git repository by running: $ git pull https://github.com/arafalov/lucene-solr-contributions alex- SOLR-8645 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/57.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #57 commit 77ddaa25d9dabe25d0b36a145b603f94eb8889ab Author: Alexandre Rafalovitch <arafalov@gmail.com> Date: 2016-07-28T01:41:06Z SOLR-8645 : managed-schema is XML type Cover the special case of no-extension known-name
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 1fb4c5d46d6f787a43121d896e64825252ea3b62 in lucene-solr's branch refs/heads/master from Jan Høydahl
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1fb4c5d ]

          SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view. This closes #57

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1fb4c5d46d6f787a43121d896e64825252ea3b62 in lucene-solr's branch refs/heads/master from Jan Høydahl [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1fb4c5d ] SOLR-8645 : managed-schema is now syntax highlighted in cloud->Tree view. This closes #57
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/lucene-solr/pull/57

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/lucene-solr/pull/57
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 46e183deea90f8a464843ca9a3fc76f258072256 in lucene-solr's branch refs/heads/branch_6x from Jan Høydahl
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=46e183d ]

          SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view. This closes #57
          (cherry picked from commit 1fb4c5d)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 46e183deea90f8a464843ca9a3fc76f258072256 in lucene-solr's branch refs/heads/branch_6x from Jan Høydahl [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=46e183d ] SOLR-8645 : managed-schema is now syntax highlighted in cloud->Tree view. This closes #57 (cherry picked from commit 1fb4c5d)
          Hide
          janhoy Jan Høydahl added a comment -

          Thanks for the contribution.

          Show
          janhoy Jan Høydahl added a comment - Thanks for the contribution.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 1fb4c5d46d6f787a43121d896e64825252ea3b62 in lucene-solr's branch refs/heads/apiv2 from Jan Høydahl
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1fb4c5d ]

          SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view. This closes #57

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1fb4c5d46d6f787a43121d896e64825252ea3b62 in lucene-solr's branch refs/heads/apiv2 from Jan Høydahl [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1fb4c5d ] SOLR-8645 : managed-schema is now syntax highlighted in cloud->Tree view. This closes #57
          Hide
          mikemccand Michael McCandless added a comment -

          Bulk close resolved issues after 6.2.0 release.

          Show
          mikemccand Michael McCandless added a comment - Bulk close resolved issues after 6.2.0 release.

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              kakrofoon David Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development