zooniverse / Panoptes-Front-End

Front end for zooniverse/Panoptes
https://www.zooniverse.org
Apache License 2.0
65 stars 76 forks source link

[minor bug] Project Builder - cannot create new Subject Set, "Validation failed: Display name has already been taken" #5837

Closed shaunanoordin closed 3 years ago

shaunanoordin commented 3 years ago

Minor Functionality Bug - Project Builder

Original report and solution: https://zooniverse.freshdesk.com/a/tickets/6002 Apparently a repeat of #1923

User reported that they cannot create a new Subject Set on the project editor. Turns out there's a small bug in the project builder with an easy workaround.

Issue:

Analysis:

Solution:

Status

Minor issue, easy workaround.

I'm closing this issue immediately since it's only here for documentation for future devs to find... but if someone wants to take on a more permanent solution (i.e. unique-ified Subject Set names, e.g. "Untitled Subject Set 2020-11-10 21:24" ) please re-open this.

eatyourgreens commented 3 years ago

See also #5701.

It looks like the default set name is set here: https://github.com/zooniverse/Panoptes-Front-End/blob/21cf42485929a62938112d5e2d4bca1a6702b00e/app/pages/lab/subject-sets-container.jsx#L5