-
Notifications
You must be signed in to change notification settings - Fork 11
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
Overwrite match only checks first data that matches the value #573
Comments
Estimate Dev Time Optimistic: 8 hours |
@singhkaranvir25 , can you please analyze what the actual expected behaviour should be for this ticket? |
Verified this ticket and seems to be not working as expected for individuals import with matching names. @emjay0921 cc: @celinenilla Test Steps:
Refer to screenshot below: Group Import for multiple name match: No error on individuals import page: (used data - test anj) Data was imported successfully and the bank account number was added after the import: |
Hi @anjclarise , i have tried it in individuals page and it seemed to work and gave an error message if it has multiple matches found in the registry>individuals page kindly try importing this file in the same runboat instance you used |
Update: @anthonymarkQA and I tried the file from above, I get an error when I import the same file but when I used the same file and update the name field to an existing individual " ANJ, TEST" I didn't get an error. We suspect that this could be because I edit the file using googlesheet >> download the file as .xlsx format >> then import to openspp in the individual page. Unlike @anthonymarkQA who uses libre office |
I'll check this one. |
@anjclarise can you upload here a video screen recording of the issue? Also upload here the excel or csv files you used. Thank you. |
@kneckinator , @reichie020212 , @gonzalesedwin1123 , @celinenilla , @anjclarise Found the issue of this when using e.g. Output of Name field is: "DELA CRUZ, JUAN " (notice the space, also this is automatically converted to Uppercase) So new PR: OpenSPP/openg2p-registry#4 in g2p_registry forked repository to fix this, on which it will retain making it in Uppercase but not adding a blank space. Please review @reichie020212 , @kneckinator , @gonzalesedwin1123 . |
@celinenilla should this also be released as a fix on top of Batanes (17.0.1.2.1), or do we only put this in 17.0.1.3.1? |
Describe the bug
Import match only checks the first data that it can find a match with. resulting to inconsistent data
To Reproduce
overwrite match
Expected behavior
Module affected: spp_import_match
Context: Import match originally was used to match with unique values that is customer specific instead of using external IDs.
Import match therefore must update only unique from the registry upon import, if a duplicate is detected:
In import match configuration. also hide the columns Match and Model
Screenshots
Additional context
🔔 Note: This ticket should address common considerations without including country-specific content. Please ensure all references are generic and applicable across various contexts.
The text was updated successfully, but these errors were encountered: