Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11647 closed defect (fixed)

Regression: relation list empty

Reported by: malenki Owned by: team
Priority: critical Milestone: 15.08
Component: Core Version:
Keywords: regression relation Cc: michael2402, bastiK

Description

Between r8525 and r8562 and something got changed so that now when loading an area with relations the relation list in JOSM remains empty.

Attachments (4)

2015-07-04_125309_scr.png (153.4 KB) - added by malenki 6 years ago.
JOSM with relations loaded and one selected but not showing them in the relation list
0001-Made-setActiveLayer-fire-the-edit-layer-change-liste.patch (9.4 KB) - added by michael2402 6 years ago.
0002-MapView-Use-enum-set-instead-of-integer-flags.2.patch (7.6 KB) - added by michael2402 6 years ago.
0002-MapView-Use-enum-set-instead-of-integer-flags.patch (7.6 KB) - added by michael2402 6 years ago.

Download all attachments as: .zip

Change History (13)

Changed 6 years ago by malenki

Attachment: 2015-07-04_125309_scr.png added

JOSM with relations loaded and one selected but not showing them in the relation list

comment:1 Changed 6 years ago by Don-vip

Keywords: regression relation added
Milestone: 15.07

comment:2 Changed 6 years ago by Don-vip

Cc: michael2402 bastiK added

regression from r8548:8556

comment:3 Changed 6 years ago by Don-vip

Priority: majorcritical

r8551 maybe? I don't see what's wrong right now, can you please have a look?

comment:4 Changed 6 years ago by michael2402

setActiveLayer(...) was not firing the edit layer change listeners even if the edit layer was also changed. This is why the relation editor never got updated. I attached a patch that fixes this.

Last edited 6 years ago by michael2402 (previous) (diff)

comment:5 Changed 6 years ago by bastiK

The patch doesn't apply to HEAD (r8567).

(Integer flags are fine, but EnumSet would be more self-documenting.)

comment:6 Changed 6 years ago by michael2402

Thanks for pointing that out. I tested it against the current git head, it should merge now.

I also added a patch to change the flags to enum flags (apply after the first one)

comment:7 Changed 6 years ago by bastiK

Resolution: fixed
Status: newclosed

In 8573/josm:

fixed #11647 - Regression: relation list empty (patch by michael2402)

comment:8 Changed 6 years ago by bastiK

Thanks for the quick fix!

comment:9 Changed 6 years ago by Don-vip

Milestone: 15.0715.08

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.