project
project copied to clipboard
project_key Does not graciously handle conflicting project keys on install
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:
- Create two projects, one named "Internal Alpha" and the other named "Internal Alphabet"
- Attempt to install the module 'project_key'
- You'll see the error popup
Expected behavior Add some trailing numbers to the key name when conflicting keys are found.