Modify

Opened 15 years ago

Closed 8 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 by Ldp, 15 years ago

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 by Ldp, 15 years ago

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

in reply to:  1 comment:3 by Ldp, 15 years ago

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:5 by stoecker, 14 years ago

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

comment:6 by mjulius, 14 years ago

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

comment:7 by anonymous, 14 years ago

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

comment:8 by Don-vip, 8 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.