Modify ↓
Opened 12 years ago
Closed 4 years ago
#9176 closed defect (fixed)
Relation editor: Applying a preset while editing tags can create empty tags (subsequently ignored)
Reported by: | madnag4u | Owned by: | michael2402 |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | tag, relation, editor | Cc: |
Description
Steps to reproduce bug:
- Create new relation.
- Give the tag type=public_transport in the relation editor.
- Open Public Transport preset dialog box when it appears near the top of the relation editor.
- Give some name in the Name field.
- Hit Apply Preset.
One expects to see the tag name=some name to be imported into the relation editor. But I see only the value some name getting copied and not the name key.
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
Component: | Internal preset → Core |
---|---|
Keywords: | relation editor added; preset public_transport removed |
Summary: | Public Transport preset does not import name key from its dialog box → Relation editor: Applying a preset while editing tags can create empty tags (subsequently ignored) |
comment:2 by , 10 years ago
I just tried and can confirm that behaviour with the current stable (Revision: 7995).
comment:3 by , 9 years ago
Owner: | changed from | to
---|
Happens in current stable, also when pasting tags.
I'll fix it on the way.
comment:4 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I fixed this 3 years back, forgot to close
Note:
See TracTickets
for help on using tickets.
Having just tag
type=public_transport
was not enough to identify and thus did not show the Public transport preset.However, it can be reproduced with other relation types as well:
type=multipolygon
in the relation editor, Relations/Multipolygon preset shows up.name
key will not, it will be overwritten by the editing cursor.name
.Maybe this cancelling should be done automatically after applying the preset?
In the step 3., if the cursor is left in the Value column, applying the preset will set the key but the value will get overwritten by editing cursor.