Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11372 closed enhancement (fixed)

Enhance commandline URL parsing

Reported by: skyper Owned by: team
Priority: normal Milestone: 15.10
Component: Core Version: latest
Keywords: template_report open Cc:

Description

Tried to recheck #10973 using the mentioned relation osmwww:relation/168910 from comment:5

What steps will reproduce the problem?

Start JOSM with additional argument of a relation (https://www.openstreetmap.org/relation/168910) from terminal

java -jar josm-latest.jar https://www.openstreetmap.org/relation/168910

What is the expected result?

Relation is loaded.

What happens instead?

Error message about false URL

Please provide any additional information below. Attach a screenshot if possible.

screenshot

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-04-24 01:31:04
Last Changed Author: simon04
Revision: 8254
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-04-23 21:26:41 +0200 (Thu, 23 Apr 2015)
Last Changed Rev: 8254

Identification: JOSM/1.5 (8254 en) Linux Debian GNU/Linux 7.8 (wheezy)
Memory Usage: 307 MB / 882 MB (44 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u75-2.5.4-1~deb7u1
Program arguments: [https://www.openstreetmap.org/relation/168910]

Plugins:
- OpeningHoursEditor (30962)
- conflation (0.1.7)
- download_along (30892)
- imagery-xml-bounds (31019)
- imagery_offset_db (31056)
- jts (31002)
- mirrored_download (30962)
- photoadjust (30964)
- reverter (30990)
- tag2link (31066)
- terracer (30892)
- todo (29154)
- undelete (30892)
- utilsplugin2 (31072)
- waydownloader (30892)
- wikipedia (31035)

Attachments (1)

wrong_url.png (8.1 KB ) - added by skyper 9 years ago.
screenshot

Download all attachments as: .zip

Change History (4)

by skyper, 9 years ago

Attachment: wrong_url.png added

screenshot

comment:1 by simon04, 9 years ago

Summary: Regression: Wrong interpretation of simple URLEnhance commandline URL parsing
Type: defectenhancement

This had never worked. Commandline parsing currently extracts bounds from an URL. We might switch "Open Location" behaviour to support a variety of URLs.

comment:2 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 8809/josm:

fix #11372 - Main: commandline uses OpenLocationAction for parsing http URLs, refactoring

comment:3 by simon04, 9 years ago

Milestone: 15.10

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.