Skip to content

VCST-5163: Stable 15 — Export (platform 3.1039.0)#102

Merged
OlegoO merged 3 commits into
devfrom
feat/VCST-5163-stable-15
Jun 19, 2026
Merged

VCST-5163: Stable 15 — Export (platform 3.1039.0)#102
OlegoO merged 3 commits into
devfrom
feat/VCST-5163-stable-15

Conversation

@OlegoO

@OlegoO OlegoO commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Part of Stable 15 (Wave 2). Platform 3.1039.0 + Wave-1 deps (nuget.org). Branch actualized with latest dev. vc-build Compress green.

🤖 Generated with Claude Code


Note

Medium Risk
Public IDataExporter signature change may break other modules, and the platform upgrade affects Hangfire export jobs and download authorization semantics.

Overview
Bumps the Export module for Stable 15: module.manifest and package references target platform 3.1039.0, VirtoCommerce.Assets 3.1005.0, and Microsoft.AspNetCore.Mvc.NewtonsoftJson 10.0.9.

Export cancellation now uses System.Threading.CancellationToken on IDataExporter.Export instead of the platform ICancellationToken. ExportJob passes Hangfire’s cancellationToken.ShutdownToken directly, dropping JobCancellationTokenWrapper.

DataExporter pulls per-item clone/write/error handling into a private ExportObject method; behavior is unchanged.

The export download action keeps authorizing with the legacy PlatformConstants.Security.Permissions.PlatformExport constant under #pragma warning disable VC0015, with a comment that the permission moved to BackupRestore but the constant remains for backward compatibility without a module dependency.

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

Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-5163
Artifact URL:
https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Export_3.1003.0-pr-102-53e6.zip

OlegoO and others added 3 commits June 19, 2026 22:52
- Bump VirtoCommerce.Platform.* to 3.1039.0 and Wave-1 deps to released versions; module version -> 3.1002.0.
- Built green via vc-build Compress against nuget.org.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…541)

Extract the per-object export block (clone + tabular/enumerable handling + error
capture) into a private ExportObject method, lowering Export's cognitive complexity
(21->under 15) and cyclomatic complexity (11->under 10). Behavior unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@OlegoO OlegoO merged commit 1107182 into dev Jun 19, 2026
9 checks passed
@OlegoO OlegoO deleted the feat/VCST-5163-stable-15 branch June 19, 2026 21:28
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.

1 participant