QutEcoacoustics / workbench-client

workbench-client: a client side browser application for interacting with acoustic workbenches
Other
8 stars 1 forks source link

Assign Sites Page Throws Error #2108

Closed hudson-newey closed 7 months ago

hudson-newey commented 7 months ago

Describe the bug Using the "Assign Sites" menu throws an error when the "Update" button is clicked

To Reproduce Steps to reproduce the behavior:

  1. Go to a project (eg. "aaaaaaa" on staging)
  2. Click on "Assign Sites"
  3. Select some sites
  4. Click Update
  5. Observe that you get an "Unknown Error" from the client side

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image On staging

Desktop:

Additional Information

When using the dev environment, we get the error: model.getFormDataOnlyAttributes is not a function

hudson-newey commented 7 months ago

Additional related bugs that I found during this issue:

Assigning then unassigning a site (in two submit requests) does not unasssign site

To reproduce: