mff-uk / odcs

ODCleanStore
1 stars 11 forks source link

copyPipeline creates abbreviated name where the number of copy is hidden #1244

Closed ghost closed 10 years ago

ghost commented 10 years ago

When a pipeline with considerably long name (1024) is copied, the "Copy of" is prefixed to the old name to create a new name. When such pipeline is copied again, the suffix " #1" is appended to create the name "Copy of long original name #1". But wait, since the name is then longer then database field limit (1024) it gets abbreviated into to "Copy of long origina..." for example. The number is lost. When user copies the original pipeline again, the "Copy of long original name #2" name could be used, but wait, once again it gets abbreviated to the same name as in previous case (the "Copy of long origina..."). The user then can see two pipelines with same name.

Proposal: change the format of Copy of to prefix-only: Original name -> Copy #1 of Original name, Copy #2 of Original name... etc

ghost commented 10 years ago

Resolved in #1283