Skip to content

Don't use the deprecated method#8938

Merged
pleku merged 1 commit intomasterfrom
issues/8929_no_deprecated_method
Sep 3, 2020
Merged

Don't use the deprecated method#8938
pleku merged 1 commit intomasterfrom
issues/8929_no_deprecated_method

Conversation

@caalador
Copy link
Contributor

@caalador caalador commented Sep 3, 2020

Stop using the method that was deprecated in 1.11.1

Closes #8929

Stop using the method that was deprecated in 1.11.1

Closes #8929
@pleku pleku merged commit 15e4615 into master Sep 3, 2020
@pleku pleku deleted the issues/8929_no_deprecated_method branch September 3, 2020 13:56
pleku pushed a commit that referenced this pull request Sep 7, 2020
Stop using the method that was deprecated in 1.11.1

Closes #8929
pleku pushed a commit that referenced this pull request Sep 7, 2020
Stop using the method that was deprecated in 1.11.1

Closes #8929
haijian-vaadin pushed a commit that referenced this pull request Sep 7, 2020
Stop using the method that was deprecated in 1.11.1

Closes #8929
pleku pushed a commit that referenced this pull request Sep 7, 2020
Stop using the method that was deprecated in 1.11.1

Closes #8929
caalador added a commit that referenced this pull request Sep 7, 2020
Stop using the method that was deprecated in 1.11.1

Closes #8929
mshabarov pushed a commit that referenced this pull request Sep 17, 2020
Stop using the method that was deprecated in 1.11.1

Closes #8929
Artur- added a commit that referenced this pull request Mar 17, 2026
Thread old item identity through DataRefreshEvent so that KeyMapper can
remap keys when an item is replaced with a new instance (different
identity). This replaces the refreshAll() workaround with a targeted
single-item refresh for signal-bound grid items.

Fixes #8938
Artur- added a commit that referenced this pull request Mar 17, 2026
…23913)

- Add a two-argument `refreshItem(T newItem, T oldItem)` overload to `DataProvider`, `DataView`, and related classes, enabling targeted refresh when an item's identity changes (e.g., signal-bound items replaced with new instances)
- `DataRefreshEvent` now carries an optional old item reference via `getOldItem()`, allowing`DataCommunicator` and `KeyMapper` to remap from the old identity to the new one instead of failing to find the item
- `HierarchicalDataCommunicator` throws `UnsupportedOperationException` for identity-changing refreshes, deferring TreeGrid `bindItems` support to a future change

Fixes #8938
vaadin-bot pushed a commit that referenced this pull request Mar 17, 2026
…23913)

- Add a two-argument `refreshItem(T newItem, T oldItem)` overload to `DataProvider`, `DataView`, and related classes, enabling targeted refresh when an item's identity changes (e.g., signal-bound items replaced with new instances)
- `DataRefreshEvent` now carries an optional old item reference via `getOldItem()`, allowing`DataCommunicator` and `KeyMapper` to remap from the old identity to the new one instead of failing to find the item
- `HierarchicalDataCommunicator` throws `UnsupportedOperationException` for identity-changing refreshes, deferring TreeGrid `bindItems` support to a future change

Fixes #8938
Artur- added a commit that referenced this pull request Mar 18, 2026
…23913) (#23922)

- Add a two-argument `refreshItem(T newItem, T oldItem)` overload to `DataProvider`, `DataView`, and related classes, enabling targeted refresh when an item's identity changes (e.g., signal-bound items replaced with new instances)
- `DataRefreshEvent` now carries an optional old item reference via `getOldItem()`, allowing`DataCommunicator` and `KeyMapper` to remap from the old identity to the new one instead of failing to find the item
- `HierarchicalDataCommunicator` throws `UnsupportedOperationException` for identity-changing refreshes, deferring TreeGrid `bindItems` support to a future change

Fixes #8938

Co-authored-by: Artur Signell <artur@vaadin.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.1.0-rc2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HtmlUtils is using deprecated jsoup method

3 participants