-
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
Add ability to add independent resources from the remote side of a one-to-many relationship. #114
Comments
The record selector widget was supposed to be able to do this, but there were issues so I disabled that in 5525150 |
|
Somewhat addressed by #2377 @tlammer and I are of the belief that having the ability to add collection objects on the form is important functionality in Specify for instances like accessions or collecting events. In our opinion, ideally adding collection objects to the form should not be associated until the entire record is saved (a la Specify 6 behavior). As a compromise, having the ability to instantly associate them after the record has been created can work as well. I asked Ben his thoughts on this-
|
@melton-jason @acwhite211 Can we discuss this as a priority to consider in the next few months? This will enable things such as
Can we consider making these instances read-only if that makes it easier? We don't need to support editing these records in this view, just adding them. The difficulty is that it is updating the independent resource rather than the record currently being edited. Maybe we can defer to Specify 6's handling of this or we can make the change to the linked records immediately after saving. There is a lot to discuss in this implementation. |
@grantfitzsimmons This is a front-end-only feature. I don't think it will require any back-end modifications |
Well, in case the backend implementation turns up again (and may be beneficial), I have actually been looking into a similar solution regarding accessing the remote side of relationships for extending deletion blockers in #1694. However, I can still look into implementing this on the frontend. |
I am not sure how the importance of this compares to extending the workbench functionality, but this is probably more important than refactoring business rules, so I could tackle this soon™. Perhaps concurrently with workbench changes |
@melton-jason For now, let's focus on extending the WorkBench by solving #2331. This issue has a lot of gimmes if we fix it. As I mentioned, better interactions, containers, and unlocking many independent resources from the remote side all across Specify. I think fixing this should be a high priority but don't let it derail your current plans. Thank you! |
Even though this is high priority, I would suggest delaying the fix until the front-end ORM is rewritten (we plan to do that as soon as Jason is done with business rules refactor). That will make this task simpler. Otherwise, there would be wasted effort |
This was reported by UMich again today as an important issue to resolve. |
e.g. Adding collection objects to an accession from the accession form.
This is complicated because it is actually mutating the collection objects, not the accession.
The text was updated successfully, but these errors were encountered: