Modify

Opened 12 years ago

Closed 12 years ago

#8771 closed defect (fixed)

<changeset> with no ID rejected

Reported by: brycenesbitt Owned by: team
Priority: trivial Milestone:
Component: Core Version:
Keywords: imports, changesets Cc:

Description

Some time ago josm accepted a <changeset> with no ID:

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="osmsync">
<changeset>

<tag k="source" v="osmsync:noaa:nexrad"/>
<tag k="note" v="xxxxxs"/>

</changeset>

This has changed and now you get:
Open file: /tmp/2.osm (1600 bytes)
org.openstreetmap.josm.io.IllegalDataException: Missing required attribute 'id'. (at line 3, column 12)


Could we get this feature back? It allows automated imports to pre-fill critical data that otherwise would have to be manually entered at the time the changeset is uploaded.

Attachments (0)

Change History (2)

comment:1 by brycenesbitt, 12 years ago

Note: this is for the case when the changeset ID is not known at the time the ".osm" file is uploaded (usually because no changeset yet exists).

comment:2 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 5996/josm:

fix #8771 - <changeset> with no ID rejected

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.