-
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
Support nested -to-many relationships in WorkBench #2331
Comments
This is because workbench does not support nested -to-many relationships ( Until this is fixed, your best bet is to change the base table (if |
@benanhalt Is there any way to make this happen for Suriname, specifically for the If we cannot implement a fix for this, I'm afraid we will need to help them import this data manually. |
@grantfitzsimmons Can you change the base table? |
It needs to be CO. If we change the base table, it will become much more complex. I can try to explain this behavior but if this can be resolved it should be. |
@benanhalt Is this something we can make happen so that Suriname can upload their data without adding many additional steps? |
It might be possible for tables that are configured to always upload. I.e. it doesn't try to match existing records. The reason it isn't allowed now is that trying to match existing records with chained -to-main relationships gets really complicated. For example imagine trying to match a collection object based on what determinations it has if the determiners' addresses are going to be relevant to the match. |
What are the consequences for a table like Determination Citation? It doesn't need to be match an existing record. Is this something we could enable in preferences with an explanation? |
@benanhalt @maxpatiiuk Can you enable this behavior in Specify 7.8? |
@acwhite211 Is this something we can switch on for 7.8? |
@grantfitzsimmons this is not as simple as toggling a switch. There are complexities with matching -to-manys inside of -to-manys. But sounds like this is high enough priority to fix even despite the complexities. Jason or Alec need to look into this deeper to see what difficulties there are. Once that is done, we can "switch" this on the front-end |
Every conversion is heavily impeded by this issue. The other big ones (determination ordering, taxon being accepted, etc.) are easy enough to work around, but this is very difficult to do without |
-to-manys that we do not want to create new records in: All Tables User Groups Taxon |
If we solve this by allowing the user to create new records in nested -to-manys without matching behavior, we need to communicate that in some way. Documentation can "cover it", but there should be some embedded indication |
From #2331 (comment) Yes, it seems like the easiest approach for a first implementation would be to only allow creating new records for nested -to-manys and disable matching behavior for those records. We can assess disambiguation for tables with these relationships after a prototype of this functionality is complete. |
Requested By: Silvia at CSIC |
This continues to become more and more important each day |
Requested By: CSIRO for the Determiners table
|
This was brought up AGAIN by Soraya at Bern. This should be addressed soon. Please discuss this when discussing future priorities! |
This issue has been mentioned on Specify Community Forum. There might be relevant details there: https://discourse.specifysoftware.org/t/mapping-determiner-in-workbench/1635/4 |
Soraya mentioned this again on the forum: We should resolve ASAP. |
Reported by: CSIRO on Asana
|
Jordi at Barcelona encountered an issue with this today |
This issue has been mentioned on Specify Community Forum. There might be relevant details there: https://discourse.specifysoftware.org/t/table-format-and-aggregation-for-agent-groups/2001/5 |
@sharadsw Is this fixed in your first batch edit PR? If so, can you put it in the appropriate milestone? |
Reported by MCNB:
|
@grantfitzsimmons Not yet but should be fixed in #6126 |
Hmmm, nested-to-manys are separate from the batch-edit logic, so there's no harm in enabling that (other than testing I guess). Ha, you could probably say "Vinny, why didn't you make them separate PRs then" |
You're right, I was thinking it would mess with batch edit but it really shouldn't. I'll make a separate PR for it just to keep testing simpler |
@grantfitzsimmons Created #6216 for this |
The Determination Citation table does not display in the WB mapper even when it is not hidden in the schema.
https://suriname-edge.test.specifysystems.org/specify/workbench-plan/3/
user:
spadmin
database:
suriname
user agent: Windows 10 and Chrome
ver:
edge
The text was updated successfully, but these errors were encountered: