Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Post updating all formsets in Experiment Detail Editor #116

Open
jpannizzo opened this issue May 7, 2021 · 0 comments
Open

[BUG] Post updating all formsets in Experiment Detail Editor #116

jpannizzo opened this issue May 7, 2021 · 0 comments

Comments

@jpannizzo
Copy link
Contributor

Describe the bug
Upon posting the nominal/actual values for the experiment detail editor all formsets try to delete previous inputs and update with the values present in the form. Formsets should only update when changes occur in that formset. Django implementation could impact this bug. Error returned from post method below:

OperationalError at /experiment_update/98b868e6-e0a0-4648-9150-7c6d640af9c2
cannot update view "vw_workflow_action_set"
DETAIL: Views that do not select from a single table or view are not automatically updatable.
HINT: To enable updating the view, provide an INSTEAD OF UPDATE trigger or an unconditional ON UPDATE DO INSTEAD rule.

To Reproduce
Steps to reproduce the behavior:

  1. Select an organization and navigate to Create Experiment
  2. Create any experiment and submit
  3. Navigate to Experiment List
  4. Select pen and paper icon to edit the information for that specific experiment
  5. Edit details within the detail experiment editor
  6. Submit. Error will display within the web browser or the terminal used for running escalate

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

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant