-
Notifications
You must be signed in to change notification settings - Fork 36
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
Cannot edit childCO in a COG #5481
Comments
Seems this was broken at some point in Geo development. This was reported as a usability concern by André and Soraya from the Geology Swiss steering committee |
This is ultimately because some part of More specifically in this case: the change/saverequired event in the CollectionObject is not being propagated up to the CollectionObjectGroupJoin and CollectionObjectGroup resources. This behavior is handled via the the event handlers in specify7/specifyweb/frontend/js_src/lib/components/DataModel/resourceApi.ts Lines 36 to 87 in b69dac3
specify7/specifyweb/frontend/js_src/lib/components/DataModel/resourceApi.ts Lines 141 to 146 in b69dac3
For which the specify7/specifyweb/frontend/js_src/lib/hooks/useIsModified.tsx Lines 9 to 46 in b69dac3
I imagine most of the work for this fix would be investigating why the event(s) are not being propagated: the actual change would likely be a very small one |
Describe the bug
If you edit a CO through the children subview in a COG the save button is not enabled and you can't save, if you make a change to the COG form to enable the save button it throws an out of date error. This might already be an existing issue but I could not find it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should be able to edit a CO in the COG form.
Screenshots
chrome_aK4ADOhQWB.mp4
Crash Report
Specify 7 Crash Report - 2024-12-17T16_47_13.357Z.txt
Please fill out the following information manually:
The text was updated successfully, but these errors were encountered: