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

PT-14655: Organization Name is empty #393

Merged
merged 3 commits into from
Dec 15, 2023
Merged

Conversation

OlegoO
Copy link
Contributor

@OlegoO OlegoO commented Dec 14, 2023

Description

fix: Organization Name is empty

Organization-Name

Please note that this release does not update the OrganizationName in the Cart and Order entities in the database. To update these entities, you can use the script provided below. The script updates the OrganizationName in the Cart and CustomerOrder tables by joining it with the Member table on the Id in Member and OrganizationId.

If you store Cart, CustomerOrder, and Member in different databases, you will need to modify the script accordingly.

-- SqlServer Script
UPDATE Cart SET OrganizationName = m.[Name] FROM Cart c
JOIN Member m ON c.OrganizationId = m.Id AND c.Type IS NULL

UPDATE CustomerOrder SET OrganizationName = m.[Name] FROM Cart c
JOIN Member m ON c.OrganizationId = m.Id

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/PT-14655

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Orders_3.424.0-pr-393-76ad.zip
https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Orders_3.424.0-pr-393-cce0.zip

Copy link
Collaborator

@artem-dudarev artem-dudarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update cart dependency in module.manifest

Fix code review warning
@OlegoO OlegoO requested a review from artem-dudarev December 15, 2023 09:42
Copy link

@OlegoO OlegoO merged commit 1007783 into dev Dec 15, 2023
5 checks passed
@OlegoO OlegoO deleted the fix/PT-14655-organization-name branch December 15, 2023 09:51
OlegoO added a commit that referenced this pull request Dec 18, 2023
fix: Organization Name is empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants