Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14682

Improve handling of connection ids

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Prep
    • Labels:
    • Rank:
      1|i00jqv:

      Description

      When creating a connection, the user specifies a connection name. The wrangler backend generates an id from this name by lowercasing everything and replacing any non-alphanumeric character with '_'. This results in a many to one mapping that can cause id conflicts.

      For example, if I create a connection named 'users DB' and another one named 'users-db', they will conflict and I'll get an error that says 'users-db' already exists, even though I won't see anything with that name in the list.

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: