Modify

Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#8149 closed defect (fixed)

Changeset tags handling coming from a .osm file

Reported by: _sly_ Owned by: team
Priority: normal Milestone: 16.02
Component: Core Version:
Keywords: tags changeset osm file auto Cc: Polyglot

Description

Hi,

Patch from #6742 is a rather nice option to help auto setting changesets tags for the future data integration users are going to do.

It "kind of work" but has strange behaviour in several cases
(test file included)

  • If you open that file and try a direct upload, tags in the changeset are ignored
  • If you start modifying things, tags are attached to the changeset
  • If you upload the changes, and start modifying other things, subsequent changeset will get those tags while you'd expect tags, related to the first upload to be forgotten
  • If you mess around with removing the JOSM data layers, modify things tags will hopefully be forgotten at some point
  • If you save your data layer in an osm file, changeset tags are not saved in it while it would be nice to have

Attachments (1)

test-sly.osm (594 bytes ) - added by _sly_ 12 years ago.

Download all attachments as: .zip

Change History (12)

by _sly_, 12 years ago

Attachment: test-sly.osm added

comment:1 by Don-vip, 12 years ago

Cc: Don-vip added

comment:2 by Don-vip, 12 years ago

Summary: Changeset tags handling comming from a .osm fileChangeset tags handling coming from a .osm file

in reply to:  description comment:3 by Don-vip, 12 years ago

Replying to _sly_:

  • If you open that file and try a direct upload, tags in the changeset are ignored
  • If you start modifying things, tags are attached to the changeset

Found the cause of that strange behaviour:
http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/actions/UploadAction.java#L214

As written in comments, we need a proper solution :)

comment:4 by Don-vip, 11 years ago

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

comment:5 by Don-vip, 11 years ago

Cc: Polyglot added; Don-vip removed

comment:6 by Don-vip, 11 years ago

From #8590 comments: Tickets #4003,#4181,#4215,#6379,#6381,#6442,#6471,#7004 should be fixed as well when looking at this ticket

comment:7 by skyper, 11 years ago

There are even some more concerning upload dialog:

#4535, #6103, #7090

comment:8 by brycenesbitt, 11 years ago

And #8771 which while fixed, could revert again.

comment:9 by Don-vip, 10 years ago

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

comment:10 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 9514/josm:

fix #4003 fix #7004 fix #8149 - Improve changeset tags handling (from earlier changeset, from dataset)

comment:11 by simon04, 9 years ago

Milestone: 16.02

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.