Modify

Opened 8 years ago

Last modified 8 years ago

#13452 new enhancement

Not able to use/set visibility of the server (re-download after local deletion)

Reported by: openstreetmap.org-user-d1g Owned by: team
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by openstreetmap.org-user-d1g)

What steps will reproduce the problem?

  1. open josm
  2. use Help/Action/DownloadObject with 1
  3. delete object
  4. use Help/Action/DownloadObject with 1

or new steps after #13430

  1. create new data layer
  2. paste http://www.openstreetmap.org/node/1
  3. delete object
  4. paste http://www.openstreetmap.org/node/1 again

What is the expected result?

<s>Object should be re-downloaded as many times as you want (what reason to prevent it?)</s>

object was/is re-downloaded (as expected) but

user should be asked to

  1. use visibility of the server (possibly visible, possibly deleted)
  2. use visibility of the local OSM layer (deleted)

What happens instead?

Get an error "one downloaded object is deleted"

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-08-25 01:44:48 +0200 (Thu, 25 Aug 2016)
Build-Date:2016-08-25 01:35:31
Revision:10895
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10895 en) Linux Ubuntu 16.04.1 LTS
Memory Usage: 169 MB / 1774 MB (58 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-8-jre:amd64-8u91-b14-3ubuntu1~16.04.1
WebStart package: icedtea-netx:amd64-1.6.2-3ubuntu1
VM arguments: [-Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/bin/javaws, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy]
Dataset consistency test: No problems found

Attachments (0)

Change History (4)

comment:1 by openstreetmap.org-user-d1g, 8 years ago

Description: modified (diff)

comment:2 by openstreetmap.org-user-d1g, 8 years ago

Priority: normalminor
Type: defectenhancement

comment:3 by openstreetmap.org-user-d1g, 8 years ago

Summary: Not able to redownload same object after deletionNot able to use/set visibility of the server (re-download after local deletion)

comment:4 by skyper, 8 years ago

You need to use purge and not delete as delete adds a new version to the object.

JOSM does not download objects which have a higher version number in local data set and if it would download you would need to solve conflicts for all locally modified objects.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to openstreetmap.org-user-d1g.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.