Skip to content

fix(license): Fix old license bit issue#34278

Open
ajivanyandev wants to merge 4 commits into
DevExpress:mainfrom
ajivanyandev:license/fix-old-license-bit-issue
Open

fix(license): Fix old license bit issue#34278
ajivanyandev wants to merge 4 commits into
DevExpress:mainfrom
ajivanyandev:license/fix-old-license-bit-issue

Conversation

@ajivanyandev

Copy link
Copy Markdown
Contributor

No description provided.

@ajivanyandev ajivanyandev self-assigned this Jul 13, 2026
Copilot AI review requested due to automatic review settings July 13, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates DevExtreme’s internal license validation to support legacy/incorrect LCP product keys that contain only the DevExtreme ASP.NET product bit, enabling compatibility only when an ASP.NET-related version assertion is present.

Changes:

  • Adds an “ASP.NET compatibility” gate based on versionAssertions and threads it through parseLicenseKeyparseDevExpressProductKey.
  • Extends LCP key parsing to optionally treat DevExtremeAspNet as acceptable for computing maxVersionAllowed.
  • Adds Jest coverage for the new compatibility gate and the ASP.NET-only product-bit scenario.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/devextreme/js/__internal/core/license/license_validation.ts Detects ASP.NET assertions and conditionally enables ASP.NET product-bit compatibility during license parsing.
packages/devextreme/js/__internal/core/license/license_validation.test.ts Adds tests ensuring the compatibility flag is passed only when ASP.NET assertions exist.
packages/devextreme/js/__internal/core/license/lcp_key_validation/license_info.ts Adds a helper to find the latest version when ASP.NET product compatibility is enabled.
packages/devextreme/js/__internal/core/license/lcp_key_validation/lcp_key_validator.ts Extends product-key parsing with an optional ASP.NET compatibility parameter and uses the new helper.
packages/devextreme/js/__internal/core/license/lcp_key_validation/lcp_key_validation.test.ts Adds tests verifying ASP.NET-only product bits are rejected by default and accepted in compatibility mode.

Copilot AI review requested due to automatic review settings July 13, 2026 09:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Comment thread packages/devextreme/js/__internal/core/license/license_validation_internal.ts Outdated
Copilot AI review requested due to automatic review settings July 13, 2026 09:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 13, 2026 09:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

@ajivanyandev ajivanyandev requested review from a team and AlisherAmonulloev July 13, 2026 13:47
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