Skip to content

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

Merged
ajivanyandev merged 5 commits into
DevExpress:mainfrom
ajivanyandev:license/fix-old-license-bit-issue
Jul 15, 2026
Merged

fix(license): Fix old license bit issue#34278
ajivanyandev merged 5 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
Copilot AI review requested due to automatic review settings July 14, 2026 09:18

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 added this pull request to the merge queue Jul 15, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 15, 2026
@ajivanyandev ajivanyandev added this pull request to the merge queue Jul 15, 2026
Merged via the queue into DevExpress:main with commit 5ebca03 Jul 15, 2026
123 of 124 checks passed
@ajivanyandev ajivanyandev deleted the license/fix-old-license-bit-issue branch July 15, 2026 10:48
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.

4 participants