#9089 closed defect (fixed)
sorting does not yield expected result for "street" relation
Reported by: | Gilbert54 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 13.12 |
Component: | Core | Version: | tested |
Keywords: | street relation, sorting | Cc: |
Description
What steps will reproduce the problem?
- create a street relation (http://wiki.openstreetmap.org/wiki/Relation:street)
- add houses, addresses and some associated objects in random order
- select all and use the sort function in the relation
What is the expected result?
I expect items to be sorted first by role and within the role all items to be sorted alphabetically, except for the address role, which should be sortde by the number contained in the string "House number xx at ..."
What happens instead?
The entire list is sorted alphabetically on the contents of the column "Refers to", ignoring the role and ignoring that the key for a house number is the number
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2013-08-07 01:35:24 Last Changed Author: Don-vip Revision: 6115 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2013-08-07 00:04:24 +0200 (Wed, 07 Aug 2013) Last Changed Rev: 6115 Identification: JOSM/1.5 (6115 en_GB) Windows 7 64-Bit Memory Usage: 494 MB / 494 MB (202 MB allocated, but free) Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Xms16m, -Xmx512m] Dataset consistency test: No problems found Plugin: buildings_tools (29778) Plugin: download_along (29778) Plugin: notes (v0.5) Plugin: print (29529) Plugin: terracer (29771) Plugin: utilsplugin2 (29771)
Attachments (1)
Change History (7)
by , 11 years ago
Attachment: | Result_after_sorting.jpg added |
---|
comment:1 by , 11 years ago
Component: | unspecified → Core |
---|
comment:3 by , 11 years ago
Two tests fail because of this commit:
http://donvip.fr/jenkins/job/JOSM/343/testReport/junit/org.openstreetmap.josm.gui.dialogs.relation.sort/WayConnectionTypeCalculatorTest/testGeneric/
http://donvip.fr/jenkins/job/JOSM/343/testReport/junit/org.openstreetmap.josm.gui.dialogs.relation.sort/WayConnectionTypeCalculatorTest/testAssociatedStreet/
comment:5 by , 11 years ago
Milestone: | → 13.12 (6502) |
---|
Result after sorting