aquariumbio / aquarium

The Aquarium Lab Operating System
http://klavinslab.org/aquaverse/
MIT License
58 stars 15 forks source link

v3: sample_types: incorrect messages when creating a [ New ] sample type (functionality appears correct) #515

Open gnomicosuw opened 3 years ago

gnomicosuw commented 3 years ago

repro:

  1. go to http://localhost:3000

  2. login

  3. http://localhost:3000/sample_types/new

  4. add a name (e.g., "asdf") and a description

  5. click [ save ] result: get an alert "asdf could not be deleted" expected result: the message should be "asdf has been created" expected result: perhaps the system should ALSO take you to the detail page for that sample type!! (that's not how v2 works, but that's what I would do...)

  6. go back to http://localhost:3000/sample_types result: the sample type is there! (this is correct)