Ticket #2119 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Select isn't updated correctly when value changed in the server

Reported by: -Sami- Owned by: Joonas Lehtinen
Priority: minor Milestone: User Interface Library 5.2.10
Component: gwt-adapter-client Version: 5.2.8
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract: Efecte

Description

When value of an Select component is changed at the server the Select doesn't update it's "text field" correctly. When the select is opened next time the new value is correctly shown in the dropdown but the old value is still shown in the "text field". By "text field" I where the currently selected value is shown when the Select is not opened.

I'm not sure if can explain the case so that it's understandable, but I'll add screenshot and a test case :)

Attachments

Screenshot for #2119.png (1.5 kB) - added by -Sami- 4 months ago.
Screenshot of the situation
Ticket2119.java (2.7 kB) - added by -Sami- 4 months ago.
Test case for the ticket

Change History

Changed 4 months ago by -Sami-

Screenshot of the situation

Changed 4 months ago by -Sami-

Test case for the ticket

Changed 4 months ago by -Sami-

  • contract set to Efecte

Changed 4 months ago by Mauno Haukila

  • milestone set to User Interface Library 5.2.9

This might relate to #2105.

Changed 4 months ago by Mauno Haukila

I meant that #2105 fix probably fixed this issue.

Changed 4 months ago by Joonas Lehtinen

  • owner changed from ticketmaster to Joonas Lehtinen
  • status changed from new to accepted

Changed 4 months ago by Joonas Lehtinen

Mauno, this issue is not related to #2105

Changed 4 months ago by Joonas Lehtinen

Committed the attached test [5521]. Thanks to -Sami- : really well written test-case, I wish all tickets could have test-cases written like this one :)

Changed 4 months ago by Mauno Haukila

Ok, thought it would be as this works with trunk.

Changed 4 months ago by Mauno Haukila

Forget my comments, i some how missed the part that testcase mentioned TWO Windows.

Changed 4 months ago by Joonas Lehtinen

  • priority changed from undefined to minor
  • resolution set to fixed
  • status changed from accepted to closed
  • component changed from undefined to gwt-adapter-client

Fixed in [5524]. Also added support for #2117 to the ticket test.

Changed 3 months ago by Marko Gronroos

  • milestone changed from User Interface Library 5.2.9 to User Interface Library 5.2.10

Included in 5.2.10 release.

Note: See TracTickets for help on using tickets.