Skip to content

fix: prevent server value change for edited locked cells (#7956) (CP: 24.7) - #10312

Merged
web-padawan merged 2 commits into
24.7from
fix-update-locked-state-of-cached-cells-and-prevent-server-value-change-24.7
Oct 1, 2026
Merged

web-padawan merged 2 commits into
24.7from
fix-update-locked-state-of-cached-cells-and-prevent-server-value-change-24.7

Conversation

@DiegoCardoso

Copy link
Copy Markdown
Contributor

This PR cherry-picks changes from the original PR #7956 to branch 24.7.

Depends on #10311


Description

Even when a cell is locked, it is still possible to update the server value when a client side cell edit event is received. This PR adds a layer of protection to the server side similar to when content is pasted onto locked cells. Now a ProtectedEditEvent is fired when a client side edit event for a locked cell is received.

Partially fixes #7940

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2026

Copy link
Copy Markdown

@web-padawan
web-padawan merged commit bd782e3 into 24.7 Oct 1, 2026
6 checks passed
@web-padawan
web-padawan deleted the fix-update-locked-state-of-cached-cells-and-prevent-server-value-change-24.7 branch October 1, 2026 08:56
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