Details

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

      Description

      Using the Collections UI to create an alias makes a call like this:

      http://$HOST:8983/solr/admin/collections?_=1461358635047&action=CREATEALIAS&collections=%5Bobject+Object%5D&name=assets&wt=json

      The collections param is effectively [object Object] which is clearly wrong, and should be a comma separated list of collections.

        Issue Links

          Activity

          Hide
          upayavira Upayavira added a comment -

          The aliasCollections object is an array of objects, not strings. This patch correctly constructs a list of collection names when creating an alias.

          Show
          upayavira Upayavira added a comment - The aliasCollections object is an array of objects, not strings. This patch correctly constructs a list of collection names when creating an alias.
          Hide
          ctargett Cassandra Targett added a comment -

          I think this is a duplicate of both SOLR-8585 and SOLR-8592. I'm going to close both of those other issues in favor of this one, since this one has the patch.

          Show
          ctargett Cassandra Targett added a comment - I think this is a duplicate of both SOLR-8585 and SOLR-8592 . I'm going to close both of those other issues in favor of this one, since this one has the patch.
          Hide
          upayavira Upayavira added a comment -

          Thx for spotting, Cassandra Targett

          Show
          upayavira Upayavira added a comment - Thx for spotting, Cassandra Targett
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 6d1f1f6c78eb2e1b760c2e1576b10410ba4683dd in lucene-solr's branch refs/heads/master from Alexandre Rafalovitch
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6d1f1f6 ]

          SOLR-9032: Fix Create Alias command in Admin UI
          Upayavira's patch applied to master and tested against cloud example

          Show
          jira-bot ASF subversion and git services added a comment - Commit 6d1f1f6c78eb2e1b760c2e1576b10410ba4683dd in lucene-solr's branch refs/heads/master from Alexandre Rafalovitch [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6d1f1f6 ] SOLR-9032 : Fix Create Alias command in Admin UI Upayavira's patch applied to master and tested against cloud example
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 291ecb2d9e79e9d5c416a385b15adcfe0085522a in lucene-solr's branch refs/heads/branch_6x from Alexandre Rafalovitch
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=291ecb2 ]

          SOLR-9032: Fix Create Alias command in Admin UI

          Show
          jira-bot ASF subversion and git services added a comment - Commit 291ecb2d9e79e9d5c416a385b15adcfe0085522a in lucene-solr's branch refs/heads/branch_6x from Alexandre Rafalovitch [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=291ecb2 ] SOLR-9032 : Fix Create Alias command in Admin UI
          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:
              upayavira Upayavira
              Reporter:
              upayavira Upayavira
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development