Bug #5779
open
Owners list reorders its entries
Added by ben leinfelder almost 12 years ago.
Updated over 8 years ago.
Category:
morpho - general
Description
When 4 or more parties are listed in the Owners wizard page, they reorder themselves when you click 'Ok'.
It seems to cycle through putting the last entry first, each time you open then dismiss the window with an Ok.
This also happens for Associated Parties and Contacts
Turns out the order was entirely the luck of the draw in terms of Map implementations. I forced the use of a TreeMap that ensures order and then made sure to add them to the DOM in the correct order (reversed because of how the model is built up).
(Meant to close this the last time)
This is in trunk and also was merged into the 1.10.0 branch in case we want to do a minor 1.10.1 release.
Original Bugzilla ID was 5779
- Status changed from Resolved to In Progress
- Target version changed from 2.0.0 to 1.11.1
Reopening - Stephanie Labou at WSU has reported the reordering behavior in Morpho 1.11.0
Also available in: Atom
PDF