﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23995	When changing street name of way with multiple sections, plugin causes JOSM freeze when saying yes to Highway name modification.	SekeRob	taylor.smock	"==== What steps will reproduce the problem?
When changing a name of a street that has more sections, a frame pops up asking ""Should we download additional information for Highway Name Modification? (WARNING: May be buggy!)"" When saying yes, JOSM freezes. When saying no, the name change is applied to the selected segment and the second step takes off asking on *each* related address to modify (the addr:street tag). Then the process concludes after doing all. It seems oblivious of the fact that there's still segments with old name.

When saying yes and the freeze occurring, then recovering, the names of all the street segments did get the change passed, not always, but in most times. (not remembering always to say no, hence the experience gained of that happening.). The process has to be repeated for each street segment, the question of the address adjusting is not repeated, presuming it checks the addr:street value prior.

Also when instead choosing all street segment with old name and enter new name, JOSM freezes complete too on OK. No pop ups. Do not remember if names do get adjusted in the recovered data file.

Noted is this is actually really good given the many street name corrections needing applying.
Author, or last modifier is tsmock per GitHub.

==== What is the expected result?

Adjust all street segments with same old name and continue to amend related addresses.

==== What happens instead?

JOSM freeze.

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-10-30 15:48:42 +0100 (Wed, 30 Oct 2024)
Revision:19253
Build-Date:2024-10-31 02:30:30
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19253 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 22H2 (19045)
Memory Usage: 4084 MB / 4084 MB (2531 MB allocated, but free)
Java version: 21.0.3+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djava.security.manager=allow]
Dataset consistency test: No problems found

Plugins:
+ Elevation (0.10.1)
+ ElevationProfile (36349)
+ HouseNumberTaggingTool (36344)
+ KartaView (545)
+ MakeParallel (v1.1.0)
+ Mapillary (1778)
+ MicrosoftStreetside (36326)
+ OpeningHoursEditor (36344)
+ RoadSigns (36343)
+ apache-commons (36349)
+ buildings_tools (36344)
+ contourmerge (v0.2.1)
+ easypresets (1623509627)
+ graphview (36344)
+ gridify (1718663815)
+ highwaynamemodification (v0.0.12)
+ javafx (36325)
+ libphonenumber (8.13.49)
+ measurement (36350)
+ notesolver (0.5.0)
+ phonenumber (1.1.1)
+ pt_assistant (637)
+ reltoolbox (36344)
+ reverter (36343)
+ routing (36343)
+ scripting (v0.3.1)
+ tageditor (36350)
+ terracer (36344)
+ todo (139)
+ turnlanes (36344)
+ turnlanes-tagging (1727811971)
+ turnrestrictions (36344)
+ undelete (36349)
+ utilsplugin2 (36350)

Tagging presets:
+ <josm.pref>/EasyPresets.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/AdvertisingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Maxspeed-zones&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/IT.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Manholes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlach2_access&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1
- https://josm.openstreetmap.de/josmfile?page=Rules/IncompleteObjectWarnings&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings_en&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
+ https://gitlab.com/cartocite/josm-style-traffic-signs-orientation/-/raw/main/traffic_sign_orientation_style.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OC.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://raw.githubusercontent.com/OpenNauticalChart/josm/master/european-waterways-classification-style/CEMT-style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Waterways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1

Last errors/warnings:
- 10826.338 E: Error header: The relation with the id 12994730 has already been deleted
- 10826.441 W: Relation 'multipolygon (""Parrocchia Santa Caterina da Siena"", 0 members)' is already deleted. Skipping object in upload.
- 10827.135 E: Error header: The way with the id 764349730 has already been deleted
- 10827.238 W: Way '‎Viale Vittorio Pepe‎ (0 nodes)‌' is already deleted. Skipping object in upload.
- 12428.264 E: Error header: Version mismatch: Provided 2, server had: 3 of Node 7544055644
- 12428.891 E: Conflicts detected - <html>Uploading <strong>failed</strong> because the server has a newer version of one<br>of your nodes, ways, or relations.<br>The conflict is caused by the <strong>node</strong> with id <strong>7,544,055,644</strong>,<br>the server has version 3, your version is 2.<br><br>Click <strong>Synchronize node 7,544,055,644 only</strong> to synchronize the conflicting primitive only.<br>Click <strong>Synchronize entire dataset</strong> to synchronize the entire local dataset with the server.<br>Click <strong>Cancel</strong> to abort and continue editing.<br></html>
- 12454.063 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 12492.074 E: Error header: Version mismatch: Provided 8, server had: 9 of Way 28144817
- 12492.835 E: Conflicts detected - <html>Uploading <strong>failed</strong> because the server has a newer version of one<br>of your nodes, ways, or relations.<br>The conflict is caused by the <strong>way</strong> with id <strong>28,144,817</strong>,<br>the server has version 9, your version is 8.<br><br>Click <strong>Synchronize way 28,144,817 only</strong> to synchronize the conflicting primitive only.<br>Click <strong>Synchronize entire dataset</strong> to synchronize the entire local dataset with the server.<br>Click <strong>Cancel</strong> to abort and continue editing.<br></html>
- 12496.055 W: Conflicts detected - <html>There was 1 conflict detected.</html>
}}}
"	defect	closed	normal		Plugin highwayNameModification		fixed	template_report	SekeRob
