Modify

Opened 3 years ago

Last modified 22 months ago

#4370 new defect

Close open changesets shows stale information

Reported by: Ldp Owned by: team
Priority: normal Component: Core
Version: Keywords:
Cc:

Description

Open a changeset, upload to it, wait until it's autoclosed (or close from outside the JOSM session). Then go to the Close open changesets menu. It seems to talk to the API to fetch open changesets, but the closed changeset also shows up. Trying to close that pops up the 'already closed' message. Even if you acknowledge that popup, and go to Close open changesets again, that changeset is still shown.

Attachments (0)

Change History (7)

comment:1 follow-up: Changed 3 years ago by Ldp

After a long editing session, with lots of changesets, this is what I get:

The actual result when I run the last URL from Firefox:

<osm version="0.6" generator="OpenStreetMap server">
−
<changeset id="3989740" user="Ldp" uid="48796" created_at="2010-02-27T15:55:30Z" open="true" min_lon="5.3255366" min_lat="51.8453671" max_lon="5.4773511" max_lat="51.9267625">
<tag k="created_by" v="JOSM/1.5 (3044 SVN en)"/>
<tag k="comment" v="woonplaatscodes Tiel"/>
</changeset>
−
<changeset id="3989653" user="Ldp" uid="48796" created_at="2010-02-27T15:47:03Z" open="true" min_lon="5.4880209" min_lat="51.9963843" max_lon="5.5967718" max_lat="52.0628081">
<tag k="created_by" v="JOSM/1.5 (3044 SVN en)"/>
<tag k="comment" v="grenzen Veenendaal"/>
</changeset>
</osm>

Attempting to close any of the 7 actually closed changesets results in an error:

Failed to upload to changeset 3,987,860 because it has already been closed on 2/27/20 2:13 PM.

Doing "Close open changesets" again gives me the same 9 changesets again. So even the one (3987860) for which I got the error isn't removed.

Creating a layer and a single node, then going to the upload dialog, I see the same 9 changesets in the Changesets tab. If I refresh the open changesets from that tab, there is no change either.

comment:2 Changed 3 years ago by Ldp

Restarting JOSM, then doing "Close open changesets" gives the correct open changesets, as in the API result above.

comment:3 in reply to: ↑ 1 Changed 3 years ago by Ldp

Replying to Ldp:

The actual result when I run the last URL from Firefox:

The '-' in the output are due to the way Firefox shows XML. They are of course not present in the actual response.

comment:4 Changed 3 years ago by Ldp

See #4757

comment:5 Changed 3 years ago by stoecker

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

comment:6 Changed 2 years ago by mjulius

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

comment:7 Changed 22 months ago by anonymous

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team. Next status will be 'new'.
Next status will be 'needinfo'.The owner will change to Ldp
as duplicate The resolution will be set to duplicate. Next status will be 'closed'.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.