Modify

Opened 7 years ago

Closed 7 years ago

#16492 closed defect (worksforme)

Synchronization creates duplicates

Reported by: peter_klofutar@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Download an area in JOSM.
  2. Create some objects (for ex. buildings).
  3. Upload, save to an .osm file and close.
  4. Reopen the file and synchronize (File -> Update Data).

What is the expected result?

No changes to the file.

What happens instead?

Previously created objects get duplicated.

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-07-09 01:47:59 +0200 (Mon, 09 Jul 2018)
Build-Date:2018-07-08 23:50:14
Revision:14026
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14026 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1803 (17134)
Memory Usage: 1072 MB / 1820 MB (458 MB allocated, but free)
Java version: 1.8.0_172-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ CustomizePublicTransportStop (34206)
+ ImproveWay (1529701520)
+ apache-commons (34389)
+ buildings_tools (34212)
+ download_along (34389)
+ ejml (34389)
+ geotools (34125)
+ imagery_offset_db (34370)
+ jts (34206)
+ opendata (34389)
+ pt_assistant (34259)
+ public_transport (34265)
+ reverter (34271)
+ terracer (34109)
+ turnrestrictions (34129)
+ utilsplugin2 (34389)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/CampingForOverlanders&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: No default layer selected, choosing first layer.
- W: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- E: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- W: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- E: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- W: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- E: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- W: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined
- E: javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 44. Cause: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "console" is not defined

Attachments (0)

Change History (7)

comment:1 by Don-vip, 7 years ago

Owner: changed from team to peter_klofutar@…
Status: newneedinfo

I can't reproduce, even if I tested multiple times with same version of Windows, Java, and JOSM plugins. Can you please check again if you manage to reproduce the problem with your reproduction steps?

comment:2 by peter_klofutar@…, 7 years ago

I updated Java, did a fresh reinstall of JOSM without plugins and old preferences (I'm using Windows installer) and tried it on a different computer, and it's still the same. I noticed that in very large zooms the duplicates are slightly misaligned. Also, I tried it with two subsequent uploads (without closing the file in-between) and only objects from the last upload get duplicated.

comment:3 by Don-vip, 7 years ago

Could you please take a screen capture of all operations you're doing to get the bug? I'm still unable to reproduce :( You can use the Windows 10 Game bar to record a video, see https://betanews.com/2015/07/19/windows-10-secret-screen-recording-tool/

comment:4 by Don-vip, 7 years ago

Priority: normalmajor

comment:6 by Don-vip, 7 years ago

Owner: changed from peter_klofutar@… to team
Status: needinfonew

comment:7 by Don-vip, 7 years ago

Priority: majornormal
Resolution: worksforme
Status: newclosed

OK it's because you save your file before the upload! The behaviour is as expected then. Please save your .osm files after upload.

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.