Skip to content

VCST-4768: Remove ProductSnapshot (moved to the separate module)#491

Merged
ksavosteev merged 12 commits into
devfrom
feat/VCST-4768
Apr 29, 2026
Merged

VCST-4768: Remove ProductSnapshot (moved to the separate module)#491
ksavosteev merged 12 commits into
devfrom
feat/VCST-4768

Conversation

@ksavosteev
Copy link
Copy Markdown
Contributor

@ksavosteev ksavosteev commented Apr 2, 2026

Description

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-4768

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Orders_3.1007.0-pr-491-f3fc.zip


Note

Medium Risk
Includes breaking schema changes that permanently drop ProductSnapshot columns and may impact consumers relying on that data unless migrations/compatibility are managed.

Overview
Removes ProductSnapshot from the orders domain: ProductSnapshot properties are deleted from LineItem and ConfigurationItem, and the Order.ProductSnapshot.Enable setting is removed from ModuleConstants.

Adds CustomerOrderId to LineItem and ConfigurationItem with an internal set (documented as ignored on CRUD updates) and exposes internals to VirtoCommerce.OrdersModule.Data via InternalsVisibleTo.

Introduces new EF Core migrations for MySQL and PostgreSQL that drop the ProductSnapshot columns from OrderLineItem and OrderConfigurationItem, updating the corresponding model snapshots.

Reviewed by Cursor Bugbot for commit f3fc0b9. Bugbot is set up for automated code reviews on this repo. Configure here.

@vc-ci
Copy link
Copy Markdown
Contributor

vc-ci commented Apr 2, 2026

🧪 Katalon Test Report — ✅ PASSED

🔢 Total ✅ Passed ❌ Failed
13 13 0
📋 Suite details
Suite Test Suites/Modules/module_Assets
Failures 0
Errors 0
Timestamp 16-04-2026T13:18:37

🔗 View run · Commit: eae8da8

Comment thread src/VirtoCommerce.OrdersModule.Data/Model/LineItemEntity.cs
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

There are 4 total unresolved issues (including 2 from previous reviews).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit bd9557f. Configure here.

@sonarqubecloud
Copy link
Copy Markdown

@ksavosteev ksavosteev merged commit e518111 into dev Apr 29, 2026
8 of 9 checks passed
@ksavosteev ksavosteev deleted the feat/VCST-4768 branch April 29, 2026 16:41
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.

3 participants