Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62869

[cbimport] Cannot import to a bucket with a full stop when '--scope-collection-exp' is passed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0
    • tools
    • None
    • 0

    Description

      What is the problem?
      cbimport allows you to import data to a bucket with a full stop in it, e.g. "test.sync". However, if you also pass --scope-collection-exp it fails with

      ERRO: Failed to import document 50: invalid collection string expected no more than three elements
      

      which is from here. The obvious solution - escaping the dot with a backslash - does not work and instead gives:

      JSON import failed: invalid collection string bucket name contains invalid characters
      

      which is from here.

      What is the solution?
      We should handle escaping in the --bucket parameter and make it consistent

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owend Daniel Owen
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty