Modify

Opened 14 years ago

Closed 14 years ago

#2420 closed defect (fixed)

[Patch] Saved OSM file can contain API version 'null'

Reported by: DwiSecundus Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: api version Cc: DwiSecundus, Gubaer

Description

Steps to reproduce:

  1. Start JOSM
  2. Ctrl+N (New)
  3. Draw a line
  4. Ctrl+S (Save)
  5. Load saved file

Observed behaviour:
Error message popup: Error while parsing <filename>: Unknown version: null

Expected behaviour:
No error message and load the file without problems.

Problem seems to be that JOSM cannot determine the current API version without connecting to the server.

Observed with latest SVN (1530).

Attachments (2)

bla.osm (331 bytes) - added by DwiSecundus 14 years ago.
Example file
default-api-version.patch (815 bytes) - added by Gubaer 14 years ago.

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by DwiSecundus

Attachment: bla.osm added

Example file

comment:2 Changed 14 years ago by DwiSecundus

Cc: DwiSecundus added

comment:3 Changed 14 years ago by DwiSecundus

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

Changed 14 years ago by Gubaer

Attachment: default-api-version.patch added

comment:4 Changed 14 years ago by Gubaer

Summary: Saved OSM file can contain API version 'null'[Patch] Saved OSM file can contain API version 'null'

comment:5 Changed 14 years ago by Gubaer

Cc: Gubaer added

comment:6 Changed 14 years ago by stoecker

Resolution: fixed
Status: newclosed

In r1587.

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.