Ticket #4059 (closed defect: fixed)
Relation history window does not show up
| Reported by: | Nakor | Owned by: | Nakor |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | latest | Keywords: | |
| Cc: |
Description (last modified by Gubaer) (diff)
If I select a relation and ask for its history, the history is downloaded from OSM but the history window never shows up afterwards.
Closing as worksforme.
Attachments
Change History
comment:2 Changed 2 years ago by mjulius
- Owner changed from team to Nakor
- Status changed from new to needinfo
I can not reproduce that in r2554. What exactly are you doing (step-by-step)?
comment:3 follow-up: ↓ 4 Changed 2 years ago by Nakor
I cannot reproduce it any more. I do not know if this can be on any help, but this was on an out-dated relation (i.e. a modification that has been modified on OSM in the meantime).
comment:4 in reply to: ↑ 3 Changed 2 years ago by Gubaer
- Status changed from needinfo to closed
- Resolution set to worksforme
- Description modified (diff)
Replying to Nakor:
I cannot reproduce it any more. I do not know if this can be on any help, but this was on an out-dated relation (i.e. a modification that has been modified on OSM in the meantime).
comment:5 Changed 2 years ago by mjulius
- Status changed from closed to reopened
- Resolution worksforme deleted
I was able to narrow down the issue using the data attached to #4060.
The issue comes up when one tries to show the history of a modified relation that has a new way added. In this case JOSM wants to add the current data to the history as "latest" and RelationMember throws an IllegalArgumentException when the new way (with negative ID) is to be added. And because this is happening in a sub-thread this exception is ignored. (This is probably a bug on its own.)
The attached patch simply gets rid of the exception.



Ticket #4058 has been marked as a duplicate of this ticket.