Opened 4 years ago

Last modified 4 years ago

#18798 closed defect

[PATCH] Crash when adding `junction=roundabout` to a node — at Version 3

Reported by: taylor.smock Owned by: team
Priority: blocker Milestone: 20.03
Component: Core Version:
Keywords: regression Cc: simon04

Description (last modified by taylor.smock)

First present in r15889.

Steps to reproduce:
1) Open a new layer
2) Add a node
3) Select the node
4) Open the add tag dialog
5) Enter junction into the key field
6) Start typing roundabout into the value field (it will crash on r)

Unless someone is already working on it, I'll try to get a patch attached as soon as possible.

EDIT: Relevant mapcss rule (from default MapCSS file):

node:righthandtraffic[junction=roundabout] {
  icon-image: String<presets/vehicle/restriction/roundabout_right.svg>;
  icon_z17: String<presets/vehicle/restriction/roundabout_right.svg>;
}

Change History (5)

comment:1 by taylor.smock, 4 years ago

Description: modified (diff)

by taylor.smock, 4 years ago

Attachment: 18798.patch added

Initial patch (fixes the issue, no non-regression tests)

comment:2 by taylor.smock, 4 years ago

Summary: Crash when adding `junction=roundabout` to a node[PATCH] Crash when adding `junction=roundabout` to a node

by taylor.smock, 4 years ago

Attachment: 18798.1.patch added

Add non-regression test (uses reflection)

comment:3 by taylor.smock, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.