Modify

Opened 3 years ago

Last modified 3 years ago

#21189 new defect

Wrong number of objects in upload dialog and no option to upload only some deleted objects.

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report upload selection deleted objects Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Have some nodes with parent ways (inside download area)
  2. Delete the nodes
  3. Search type:node modified with "all objects" enabled
  4. Select only one node out of the list
  5. Upload selection

What is the expected result?

  1. Only the singled node is uploaded
  2. The correct number of all deleted nodes is displayed in upload dialog

What happens instead?

  1. No option but to upload all deleted objects
  2. In upload dialog only the single node is displayed but all additional objects are missing

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

Additionally, the parent ways should have been added to the list of objects to upload as the API will not allow to delete a node without changing its parent objects.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-08-02 02:41:28 +0200 (Mon, 02 Aug 2021)
Revision:18114
Build-Date:2021-08-02 01:31:32
URL:https://josm.openstreetmap.de/svn/trunk

Last errors/warnings:
- 07040.496 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 807734013 is still used by ways 24402957,110804645.>
- 07040.505 E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 807734013</strong>. It is still referred to by ways [24402957, 110804645].<br>Please load the ways, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- 07076.851 W: java.net.SocketTimeoutException: Read timed out
- 07076.852 E: java.net.SocketTimeoutException: Read timed out
- 07076.853 E: java.util.concurrent.ExecutionException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: Read timed out
- 07076.853 E: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: Read timed out
- 07076.853 E: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: Read timed out
- 07180.329 E: Error header: Precondition failed: Node 807734013 is still used by ways 24402957,110804645.
- 07180.440 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 807734013 is still used by ways 24402957,110804645.>
- 07180.447 E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 807734013</strong>. It is still referred to by ways [24402957, 110804645].<br>Please load the ways, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>

Attachments (0)

Change History (2)

comment:1 by skyper, 3 years ago

Description: modified (diff)

comment:2 by Don-vip, 3 years ago

Priority: majornormal

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 skyper.
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.