Modify

Opened 10 years ago

Closed 10 years ago

#11877 closed defect (irreproducible)

User names from a file are treated incorrectly

Reported by: kontakt+josm@… Owned by: kontakt+josm@…
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

There is a user named mmd*2012 whose name is destroyed when used in a .osm file.

When loading that file into JOSM and saving it again, the name 'mmd*2012' is replaced with 'mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012/mmd*2012/mmd/mmd*2012/mmd*2012/mmd/mmd*2012/mmd/mmd*2012/mmd*2012' which issurely not wwhat is intended.

Attachments (2)

bug1.osm (266 bytes ) - added by kontakt+josm@… 10 years ago.
File which has a node from the said user
bug2.osm (785 bytes ) - added by kontakt+josm@… 10 years ago.
Resulting file after saving it

Download all attachments as: .zip

Change History (6)

by kontakt+josm@…, 10 years ago

Attachment: bug1.osm added

File which has a node from the said user

by kontakt+josm@…, 10 years ago

Attachment: bug2.osm added

Resulting file after saving it

comment:1 by Don-vip, 10 years ago

can you please attach your status report as asked on newticket? Thanks.

comment:2 by kontakt+josm@…, 10 years ago

Of course, sorry.

What steps will reproduce the problem?

  1. Load the attached file bug1.osm.
  2. Save it to a different name.
  3. Compare them and you'll see the difference.

What is the expected result?

The files should be identical; the user= attribute shouldn't change.

What happens instead?

The user= attribute of the said node is changed as shown in file bug2.osm.

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

Revision: 8677
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-08-21 22:18:03 +0200 (Fri, 21 Aug 2015)
Build-Date: 2015-08-21 23:32:08
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8677

Identification: JOSM/1.5 (8677 de) Windows 8 64-Bit
Memory Usage: 802 MB / 3598 MB (378 MB allocated, but free)
Java version: 1.8.0_45, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_45\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\tr\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-3ce92df6, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=54852, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]

Plugins:
- AddrInterpolation (31241)
- CommandLine (31241)
- Create_grid_of_ways (31241)
- DirectDownload (31241)
- DirectUpload (31241)
- ElevationProfile (31302)
- FastDraw (31265)
- FixAddresses (31241)
- HouseNumberTaggingTool (31241)
- ImportImagePlugin (31241)
- InfoMode (31241)
- OpeningHoursEditor (31241)
- PicLayer (31241)
- RoadSigns (31241)
- SimplifyArea (31241)
- TombPlugin (44)
- buildings_tools (31361)
- continuosDownload (1413902943)
- dataimport (31241)
- download_along (31241)
- editgpx (31241)
- geochat (31241)
- geotools (31126)
- graphview (31241)
- jts (31126)
- log4j (31231)
- measurement (31289)
- merge-overlap (31241)
- mirrored_download (31294)
- namemanager (31241)
- opendata (31241)
- openvisible (31241)
- osmarender (31241)
- print (31329)
- public_transport (31241)
- reltoolbox (31241)
- reverter (31241)
- routing (31241)
- tagging-preset-tester (31241)
- terracer (31241)
- todo (29154)
- turnlanes (31241)
- turnrestrictions (31241)
- undelete (31241)
- utilsplugin2 (31463)
- waydownloader (31241)
- waypoint_search (31241)

Last errors/warnings:
- E: No tagging preset submenu for  RoadSigns
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: No tagging preset submenu for

Full status report:

autosave.interval=30
cache.bing.attribution.xml=1442319639
cache.capabilities-131030235=1409057966
cache.capabilities1637351842=1442413788
cache.motd.html=1442502462
cache.motd.html.java=1.8.0_45
cache.motd.html.lang=De:
cache.motd.html.version=8677
changeset-dialog.for-selected-objects-only=true
changesetdialog.minimized=true
changesetdialog.visible=true
color.graphview arrowhead core=#000000
color.graphview default node=#FFFFFF
color.graphview default segment=#FFFFFF
commandstack.minimized=true
commandstack.visible=true
conflict.geometry=x=843,y=121,width=536,height=622
conflict.minimized=true
conflict.visible=true
coordinates=DECIMAL_DEGREES
display.discardable-keys=true
download.notes=true
download.places.history=[Saarbrücken]
downloadAlongTrack.area=1.0
downloadAlongTrack.distance=10.0
downloadAlongTrack.near=2
downloadprimitive.lasttype=3
draw.rawgps.colors=1
draw.rawgps.colors.dynamic=true
draw.rawgps.linewidth=3
draw.segment.direction=true
elevation.visible=false
expert=true
file-open.history=[...]
geochat.lastuid=1769937338
geochat.visible=false
graphview.activeBookmark=bicycle
graphview.parameterBookmarks=bicycle;bicycle;types={YES,PERMISSIVE,DESIGNATED,UNDEFINED};properties={}|motorcar;motorcar;types={YES,PERMISSIVE,DESIGNATED,UNDEFINED};properties={}|pedestrian;foot;types={YES,PERMISSIVE,DESIGNATED,UNDEFINED};properties={}|hgv (3.5 t);hgv;types={YES,PERMISSIVE,DESIGNATED,UNDEFINED};properties={WEIGHT=3.5}
graphview.rulesetFolder=C:\Users\tr
gui.geometry=x=0,y=0,width=1000,height=740
gui.maximized=true
imagery.entries=[...]
imagery.offsetnagging=false
imagery.tms.tmsloader.maxjobs=10
lastDirectory=...
mappaint.renderer-class-name=org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer
mappaint.style.entries=[...]
mappaint.style.known-defaults=[resource://styles/standard/elemstyles.mapcss, resource://styles/standard/potlatch2.mapcss]
mapstyle.minimized=true
mapstyle.visible=true
marker.audiofromstart=false
notes.api.disabled=false
notes.auto_download=true
notes.comment.history=[...]
notes/note_open.visible=true
org.openstreetmap.josm.gui.actionsupport.DeleteFromRelationConfirmationDialog.geometry=x=760,y=418,width=526,height=328
org.openstreetmap.josm.gui.dialogs.ConflictResolutionDialog.geometry=x=715,y=262,width=1053,height=639
org.openstreetmap.josm.gui.dialogs.DeleteFromRelationConfirmationDialog.geometry=x=760,y=420,width=814,height=260
org.openstreetmap.josm.gui.dialogs.InspectPrimitiveDialog.geometry=x=585,y=243,width=1271,height=753
org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$AddTagsDialog.geometry=x=973,y=235,width=688,height=421
org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$EditTagDialog.geometry=x=247,y=295,width=1672,height=188
org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.geometry=x=448,y=117,width=1292,height=775
org.openstreetmap.josm.gui.download.DownloadDialog.geometry=x=40,y=36,width=1728,height=972
org.openstreetmap.josm.gui.download.DownloadObjectDialog.primitivesHistory=[n2955570733, n3667495970, w308248958, w309039566, n701381894, w28115648, w28115759, r180739, r3835039, 289993772]
org.openstreetmap.josm.gui.help.HelpBrowser.geometry=x=0,y=0,width=816,height=979
org.openstreetmap.josm.gui.history.HistoryBrowserDialogManager.geometry=x=535,y=290,width=850,height=500
org.openstreetmap.josm.gui.io.CloseChangesetDialog.geometry=x=810,y=368,width=300,height=300
org.openstreetmap.josm.gui.io.UploadDialog.geometry=x=897,y=72,width=1023,height=806
org.openstreetmap.josm.gui.io.UploadSelectionDialog.geometry=x=1038,y=254,width=592,height=726
org.openstreetmap.josm.gui.oauth.OAuthAuthorizationWizard.geometry=x=735,y=248,width=450,height=540
org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry=x=357,y=114,width=1136,height=882
org.openstreetmap.josm.plugins.utilsplugin2.multitagger.MultiTagDialog.geometry=x=491,y=357,width=500,height=500
osb.api.disabled=false
osb.api.offline=false
osb.auto_download=true
osb.include_date=true
osb.uri.close=http://openstreetbugs.schokokeks.org/api/0.1/closePOIexec
osb.uri.download=http://openstreetbugs.schokokeks.org/api/0.1/getBugs
osb.uri.edit=http://openstreetbugs.schokokeks.org/api/0.1/editPOIexec
osb.uri.new=http://openstreetbugs.schokokeks.org/api/0.1/addPOIexec
osm-download.bounds=49.4922407;6.9295943;49.4924725;6.9299215
osm-primitives.showid=true
osm-server.auth-method=oauth
osm-server.upload-strategy=chunked
osm-server.upload-strategy.chunk-size=500
plugin.continuos_download.active_default=false
plugin.continuos_download.quiet_download=true
plugin.mirrored_download.query-history=[]
pluginmanager.lastupdate=1441018101534
pluginmanager.version=8677
plugins=[AddrInterpolation, CommandLine, Create_grid_of_ways, DirectDownload, DirectUpload, ElevationProfile, FastDraw, FixAddresses, HouseNumberTaggingTool, ImportImagePlugin, InfoMode, OpeningHoursEditor, PicLayer, RoadSigns, SimplifyArea, TombPlugin, buildings_tools, continuosDownload, dataimport, download_along, editgpx, geochat, geotools, graphview, jts, log4j, measurement, merge-overlap, mirrored_download, namemanager, opendata, openvisible, osmarender, print, public_transport, reltoolbox, reverter, routing, tagging-preset-tester, terracer, todo, turnlanes, turnrestrictions, undelete, utilsplugin2, waydownloader, waypoint_search]
plugins.importimage.importpath=M:\Dropbox\Screenshots
plugins.terracer.delete_outline=false
plugins.terracer.handle_relation=false
print.map-scale=2000
print.preview.enabled=true
print.resolution.dpi=300
print.settings.request-attributes=[[javax.print.attribute.standard.Media, javax.print.attribute.standard.MediaSizeName, javax.print.attribute.EnumSyntax, 4], [javax.print.attribute.standard.OrientationRequested, javax.print.attribute.standard.OrientationRequested, javax.print.attribute.EnumSyntax, 4]]
print.settings.service-attributes=[[javax.print.attribute.standard.PrinterName, javax.print.attribute.standard.PrinterName, javax.print.attribute.TextSyntax, Dell Color Laser 3110cn PCL6]]
projection.custom.value.history=[, +proj=lonlat +ellps=WGS84 +datum=WGS84 +bounds=-180,-90,180,90, +proj=tmerc +lat_0=0 +lon_0=9 +k_0=1 +x_0=3500000 +y_0=0 +ellps=bessel +nadgrids=BETA2007.gsb]
projection.sub=[]
projection.sub.core:gauss-krueger=[3]
projection.sub.core:mercator=[]
projection.sub.core:utm=[31, North]
projection.sub.core:wgs84=[]
properties.recent-tags=[...]
proxy.policy=no-proxy
relation.editor.generic.lastrole=admin_centre
relationlist.geometry=x=857,y=481,width=536,height=177
reltoolbox.visible=false
remotecontrol.always-confirm=true
remotecontrol.enabled=true
remotecontrol.new-layer=true
remotecontrol.permission.open-files=true
routing.profile.default.speed.bridleway=40
routing.profile.default.speed.bus_guideway=50
routing.profile.default.speed.byway=50
routing.profile.default.speed.cycleway=40
routing.profile.default.speed.footway=20
routing.profile.default.speed.living_street=30
routing.profile.default.speed.motorway=120
routing.profile.default.speed.motorway_link=120
routing.profile.default.speed.path=40
routing.profile.default.speed.pedestrian=30
routing.profile.default.speed.primary=100
routing.profile.default.speed.primary_link=100
routing.profile.default.speed.residential=50
routing.profile.default.speed.road=100
routing.profile.default.speed.secondary=90
routing.profile.default.speed.service=30
routing.profile.default.speed.steps=10
routing.profile.default.speed.tertiary=90
routing.profile.default.speed.track=50
routing.profile.default.speed.trunk=120
routing.profile.default.speed.trunk_link=120
routing.profile.default.speed.unclassified=50
toggleDialogs.width=766
toolbar=[new, open, save, download, downloadprimitive, upload, uploadselection, |, undo, redo, |, dialogs/search(searchExpression=), preference, |, splitway, combineway, wayflip, |, imagery-offset, |, tagginggroup_Highways/Streets, tagginggroup_Highways/Ways, tagginggroup_Highways/Waypoints, tagginggroup_Highways/Barriers, |, tagginggroup_Transport/Car, tagginggroup_Transport/Public Transport, |, tagginggroup_Facilities/Tourism, tagginggroup_Facilities/Food+Drinks, |, tagginggroup_Man Made/Historic Places, |, tagginggroup_Man Made/Man Made]
turnrestrictions.road-signs=set-b
undelete.newlayer=false
undelete.osmid=n3667495970
upload.comment.history=[...]
upload.comment.last-used=1442560539
upload.source.history=[extrapolation, survey, Bing, knowledge, survey; extrapolation, note 421866, note 424214, note 427966, Bing; knowledge, extrapolation; knowledge; Bing, extrapolation; knowledge, extrapolation; Bing; knowledge, knowledge; extrapolation, http://wiki.openstreetmap.org/wiki/DE:Tag:historic%3Dboundary_stone, Bing; extrapolation]
userlist.minimized=true
userlist.visible=true
utilsplugin2.customurl=https://www.openstreetmap.org/{#type}/{#id}/history
utilsplugin2.multitaghistory=[...]
validator.minimized=true
validator.skip=[]
validator.skipBeforeUpload=[]
validator.visible=true

comment:3 by simon04, 10 years ago

Owner: changed from team to kontakt+josm@…
Status: newneedinfo

I cannot reproduce. Please test again after resetting your preferences.

comment:4 by Don-vip, 10 years ago

Resolution: irreproducible
Status: needinfoclosed

can't reproduce neither.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain kontakt+josm@….
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.