specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
60 stars 38 forks source link

Can create new records using a query combo box in the visual editor for form definitions #4886

Closed emenslin closed 3 weeks ago

emenslin commented 1 month ago

Describe the bug In the visual editior for any form definition if you click the add button on a query combo box you can add a new record which can save to the database.

To Reproduce Steps to reproduce the behavior:

  1. Go to app resources -> form definition
  2. Click on any table with a query combo box in the form (e.g. collection object with the accession qcbx)
  3. In visual editor click the add button for the query combo box
  4. Fill out some information in the form
  5. See you can save

Expected behavior You should not be able to create a record in the form editor and the button should probably be disabled.

Screenshots

https://github.com/specify/specify7/assets/150940840/d56b339b-4932-4d0c-811b-3bd2227b4495

Please, also fill out the following information manually: