Opened 9 years ago
Closed 9 years ago
#11686 closed defect (fixed)
[Patch] Error by uploading changeset with too long tag
Reported by: | Owned by: | edward17 | |
---|---|---|---|
Priority: | normal | Milestone: | 15.09 |
Component: | Core | Version: | tested |
Keywords: | template_report changeset tag length | Cc: |
Description
What steps will reproduce the problem?
- Click on "Upload changes" button
- In dialog, select the "New changeset's tags"
- Add new tag
- Enter very long value
What is the expected result?
JOSM must say that this value is too long and cannot be uploaded on server.
What happens instead?
An error occur, log is below.
Please provide any additional information below. Attach a screenshot if possible.
- S. Excuse me my bad English. I can speak German better than English (hovever you can also speak German).
Excuse me if I have entered some information in wrong field.
Excuse me if resembling issue already exists.
If you have any questions, I can answer them.
My OSM-user profile is here: http://www.openstreetmap.org/user/edward17/ You can send me OSM-message.
Revision: 8491 Repository Root: http://josm.openstreetmap.de/svn Relative URL: ^/trunk Last Changed Author: Don-vip Last Changed Date: 2015-06-16 23:27:08 +0200 (Tue, 16 Jun 2015) Build-Date: 2015-06-16 21:45:58 URL: http://josm.openstreetmap.de/svn/trunk Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last Changed Rev: 8491 Identification: JOSM/1.5 (8491 ru) Windows 7 64-Bit Memory Usage: 247 MB / 247 MB (7 MB allocated, but free) Java version: 1.8.0_31, Oracle Corporation, Java HotSpot(TM) Client VM Dataset consistency test: No problems found Plugins: - PicLayer (31241) - buildings_tools (31241) - imagery_offset_db (31241) - jts (31126) - measurement (31289) - scripting (30710) Last errors/warnings: - E: java.lang.IllegalArgumentException: Changeset tag value is too long: В Горловке улицы Узловская, Маршала Пересыпкина, Кузнецова-Зубарева и участок от Кузнецова-Зубарева до проспекта Ленина в реальности имеют одну проезжую часть (с двойной сплошной линией). Поэтому они должны быть обозначены в OSM одной линией, а не двумя, как сейчас. Из-за того, что по ним проходит очень много маршрутов общественного транспорта, я не стал их трогать. Но надеюсь, что когда-нибудь это будет исправлено. java.lang.IllegalArgumentException: Changeset tag value is too long: В Горловке улицы Узловская, Маршала Пересыпкина, Кузнецова-Зубарева и участок от Кузнецова-Зубарева до проспекта Ленина в реальности имеют одну проезжую часть (с двойной сплошной линией). Поэтому они должны быть обозначены в OSM одной линией, а не двумя, как сейчас. Из-за того, что по ним проходит очень много маршрутов общественного транспорта, я не стал их трогать. Но надеюсь, что когда-нибудь это будет исправлено. at org.openstreetmap.josm.data.osm.Changeset.setKeys(Changeset.java:197) at org.openstreetmap.josm.gui.io.UploadDialog.getChangeset(UploadDialog.java:300) at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:263) at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:287) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (1)
Change History (6)
comment:1 by , 9 years ago
Keywords: | changeset tag length added |
---|---|
Milestone: | → 15.07 |
comment:2 by , 9 years ago
Milestone: | 15.07 → 15.08 |
---|
comment:3 by , 9 years ago
Cc: | removed |
---|---|
Milestone: | 15.08 → 15.09 |
by , 9 years ago
Attachment: | 11686.patch added |
---|
comment:4 by , 9 years ago
Summary: | Error by uploading changeset with too long tag → [Patch] Error by uploading changeset with too long tag |
---|
attachment:11686.patch disallows longer keys/values in changeset tag table. The plugin tageditor
needs adoption afterwards. Is there a more elegant solution to restrict the length?
Milestone renamed