Modify

Opened 9 years ago

Closed 2 years ago

#4370 closed defect (fixed)

Close open changesets shows stale information

Reported by: Ldp Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: changeset 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 (8)

comment:1 Changed 9 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 9 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 9 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 9 years ago by Ldp

See #4757

comment:5 Changed 9 years ago by stoecker

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

comment:6 Changed 8 years ago by mjulius

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

comment:7 Changed 8 years ago by anonymous

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

comment:8 Changed 2 years ago by Don-vip

Keywords: changeset added
Resolution: fixed
Status: newclosed

Don't know when exactly this bug has been fixed in the past 6 years, but I cannot reproduce it now.

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.