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

Unable to use name field under Contact model for Import match feature #572

Closed
anthonymarkQA opened this issue Sep 6, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@anthonymarkQA
Copy link

anthonymarkQA commented Sep 6, 2024

Describe the bug
Duplicates created when using Name field under Contact model for Import match feature.
To Reproduce

  1. login to sp-mis as admin
  2. Go to registry>configuration>import match
  3. Select Contact in Model field
  4. toggle on 'overwrite match'
  5. Click add a line in Fields
  6. Type Name then hit save
  7. Import a registrant with a name already existing in the sp-mis instance
  8. notice after successfull import, a duplicate is created instead of updating the existing data

Expected behavior
Able to use name as unique identifier

Screenshots

Image
Image

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.

@reichie020212
Copy link
Member

Estimate Dev Time

Optimistic: 8 hours
Pessimistic: 16 hours

@emjay0921
Copy link
Contributor

emjay0921 commented Oct 8, 2024

@anthonymarkQA upon re testing this it is working fine, can you test again?

cc: @celinenilla

I'm returning this to QA again.

Please see this screen recording for reference: https://drive.google.com/file/d/1T5WoU6lyRIzQPW2OacwroYYQsUmKneGh/view?usp=sharing

I tested it in this instance: http://openspp-openspp-modules-17-0-ef949748c155.runboatk8.newlogic-demo.com/web#action=180&model=res.partner&view_type=list&cids=1&menu_id=132

@jannahadlaon jannahadlaon self-assigned this Oct 10, 2024
@jannahadlaon
Copy link

Findings: QA PASSED
Tested in: http://openspp-openspp-modules-17-0-ef949748c155.runboatk8.newlogic-demo.com/web#action=180&model=res.partner&view_type=list&cids=1&menu_id=132
STEPS

  1. login to sp-mis as admin

  2. Go to registry>configuration>import match

  3. Select Contact in Model field

  4. toggle on 'overwrite match'

  5. Click add a line in Fields

  6. Type Name then hit save
    image

  7. Export registrants you want to update
    image

  8. Edit the registrants' Date of birth and Registration date then import back in the sp-mis instance.
    Before
    image
    Uploaded file
    image

  9. Verify that import was successful and data is reflected correctly
    After
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
5 participants