vaadin / vaadin/framework

Changes in container item not visible in Grid

Open
#7,572 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Stale v7
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Originally by Les_1


When using bean container as data source for grid and replacing one item in container with another, changes in new item are not visible in grid.

But changes in old, no longer present in container item are visible in grid.
This started to happen after I started using Vaadin 7.6.4. In 7.5 it was working fine.

Attached sample code was working properly in version 7.5. After changing version to 7.6.4 button with label "ACTION4" is no longer changing data in grid row.


Imported from https://dev.vaadin.com/ issue #19699

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the attached sample with a bean container as the Grid data source, comparing Vaadin 7.5 with 7.6.4. Replace one container item and verify whether the new item's changes appear while changes from the old item remain visible; done means the Grid reflects the replacement correctly in the affected version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.