Opened 4 months ago

Last modified 4 months ago

#21084 new defect

Sorting more complex route relations completely fails

Reported by: skyper Owned by: Biswesh
Priority: critical Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report sort loop Cc: michael2402, floscher, Polyglot

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Have a more complex bus route (Busroute_with_loops.osm.xz)
  2. Open relation editor
  3. Sort relation with "Sort PT Route Members Relation Editor"

What is the expected result?

No action at all as the relation is properly sorted and tags are according to the wiki

What happens instead?

Order of members is completely messed up and name=* and to=* are offered to change to incorrect values

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

Please, by default, do not change name=* into something which is not documented in the wiki and use the from=* and to=* for sorting instead of changing the values.
For sure, do not mess up the order but stop if there are problems.
Additionally, sort action should result in only one change but atm I get two entries in the command stack.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-07-09 02:08:51 +0200 (Fri, 09 Jul 2021)
Build-Date:2021-07-09 01:31:16

+ pt_assistant (1ff2e15)

Attachments (1)

Busroute_with_loops.osm.xz (32.9 KB) - added by skyper 4 months ago.
proper sorted PTv2 relation

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by skyper

Attachment: Busroute_with_loops.osm.xz added

proper sorted PTv2 relation

comment:1 Changed 4 months ago by skyper

Description: modified (diff)

comment:2 Changed 4 months ago by skyper

Cc: michael2402 floscher Polyglot added

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Biswesh.
as The resolution will be set.
to The owner will be changed from Biswesh to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from Biswesh to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.