Opened 6 years ago

Last modified 6 years ago

#19308 new defect

Download as new layer not respected if new_layer=false is present — at Version 3

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core remotecontrol Version: latest
Keywords: template_report download new layer Cc: ToniE

Description (last modified by skyper)

What steps will reproduce the problem?

  1. In preferences enable "Download as new layer"
  2. Click on a "remote control link" in web browser
    Edit: link including new_layer=false, like GET /load_object?new_layer=false&relation_members=true&objects=r7367864 HTTP/1.1

What is the expected result?

It is downloaded to a new layer

What happens instead?

It is downloaded to active layer

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

Edit: So, the local setting should overwrite/change the command.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-05-27 21:23:59 +0200 (Wed, 27 May 2020)
Revision:16511
Build-Date:2020-05-28 01:30:47
URL:https://josm.openstreetmap.de/svn/trunk

Change History (3)

comment:1 by simon04, 6 years ago

Owner: changed from team to skyper
Status: newneedinfo

I cannot reproduce.

  1. Enable "Download as new layer"
  2. Add layer (Data Layer 1), draw some lines
  3. GET /load_and_zoom?left=-59.89047185907365&top=-36.75424350001947&right=-59.885985689067844&bottom=-36.75801721796789
  4. Observe that download has created Data Layer 2
Revision:16538
Is-Local-Build:true
Build-Date:2020-06-02 21:43:46

comment:2 by skyper, 6 years ago

Description: modified (diff)
Owner: changed from skyper to team
Status: needinfonew
Summary: Download as new layer not respected.Download as new layer not respected if new_layer=false is present

Oh, sorry, the problem is the presence of new_layer=false like in GET /load_object?new_layer=false&relation_members=true&objects=r7367864 HTTP/1.1. Should probably, be overwritten by local settings to GET /load_object?new_layer=true&relation_members=true&objects=r7367864 HTTP/1.1.

I've adjusted the description.

comment:3 by skyper, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.