Modify

Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#23072 closed defect (fixed)

Unable to add selection from locked layer

Reported by: tondahaas@… Owned by: Gnonthgol
Priority: normal Milestone:
Component: Plugin todo Version:
Keywords: Cc:

Description

Hi,
after a HOT Tasking Manager update, a boundary layer is loaded in josm locked. In this state, selection can't be added to TODO.
There is a discussion https://github.com/hotosm/tasking-manager/issues/5996

Steps to reproduce this issue: load lockedLayer.osm in JOSM. Use search tool with the query 'type:way'. This selection can't be added.

When I open .osm file in text editor and remove locked='true' or set the attribute to false, selection can be added to todo.

Attachments (1)

lockedLayer.osm (2.4 KB ) - added by tondahaas@… 22 months ago.
file to reproduce this issue

Download all attachments as: .zip

Change History (5)

by tondahaas@…, 22 months ago

Attachment: lockedLayer.osm added

file to reproduce this issue

comment:1 by taylor.smock, 22 months ago

I think we can probably change the buttons to be enabled when we can get data from getActiveDataLayer() or getActiveDataset() instead of getEditLayer().

comment:2 by taylor.smock, 22 months ago

Resolution: fixed
Status: newclosed

Fixed in v128.

comment:3 by tondahaas@…, 22 months ago

I can confirm, that the fix is working. I've replaced .jar file on my local computer and now I'm able to add selection from the locked layer. Thank you very much for such quick response.

comment:4 by taylor.smock, 22 months ago

You shouldn't have had to replace the jar file manually -- it takes ~10 minutes for the plugin list to pick up the new jar file.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Gnonthgol.
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.