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

Duplicate carriers/shipping method gets displayed when multiple association are available in the database #883

Open
1 of 2 tasks
ymaheshwari1 opened this issue Dec 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ymaheshwari1
Copy link
Contributor

Current behavior

If the same shipping method gets associated with a carrier multiple times, then in that case, the shipping method is displayed multiple times in the dropdown on the order details page or in the tracking code modal.

Expected behavior

If the carrier or shipping methods have multiple associations then only unique values should be displayed in the all the select dropdowns.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

image

@ymaheshwari1 ymaheshwari1 added the bug Something isn't working label Dec 18, 2024
@ymaheshwari1 ymaheshwari1 changed the title Duplicate carriers/shipping method gets displayed when multiple association are avaiable in the database Duplicate carriers/shipping method gets displayed when multiple association are available in the database Dec 18, 2024
@ymaheshwari1 ymaheshwari1 moved this from 📋 Backlog to 📅 Planned in Digital Experience Platform Dec 18, 2024
@ravilodhi
Copy link
Contributor

The duplicate carriers are caused by duplicate data in the FacilityParty table, and the duplicate shipment methods are due to duplicate data in the ProductStoreShipmentMeth table. The source of the duplicate data should be fixed to resolve this issue correctly. As a precaution, a PR has been raised to fetch distinct records.

ravilodhi added a commit that referenced this issue Dec 18, 2024
Fixed: Fetched unique carriers and their shipment methods (#883).
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
Status: 📅 Planned
Development

No branches or pull requests

2 participants