archesproject / arches-for-science

Arches for Science
13 stars 9 forks source link

lock select project step immediately instead of on delay #1522

Closed aarongundel closed 8 months ago

aarongundel commented 9 months ago

When moving through the update collection workflow, it's possible to select a project and move forward - then move back to the initial step and clear it. You can still advance forward because the workflow step's initial state (the value you initially selected) is different from its end state (no value selected). To prevent this condition from happening, lock the initial step after we advance past it.

This is a "band-aid" fix. A better fix would be improved step validation.