project icon indicating copy to clipboard operation
project copied to clipboard

project_key Does not graciously handle conflicting project keys on install

Open skaag opened this issue 2 years ago • 0 comments

Module

Module: project_key

Describe the bug

The module tries to take existing projects and create keys for them automatically. This works in a barebones installation where there's only one internal project. In existing installations where the project names might produce conflicting keys, the module fails to install with a "Duplicate key" error.

To Reproduce

Affected versions: All versions

Steps to reproduce the behavior:

  1. Create two projects, one named "Internal Alpha" and the other named "Internal Alphabet"
  2. Attempt to install the module 'project_key'
  3. You'll see the error popup

Expected behavior Add some trailing numbers to the key name when conflicting keys are found.

skaag avatar Jun 22 '22 22:06 skaag