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.
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).