Modify ↓
Opened 2 years ago
Closed 23 months ago
#6057 closed defect (fixed)
Single quotes in tagging presets not working due to tr() usage
| Reported by: | stoecker | Owned by: | team |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | latest | Keywords: | quote preset |
| Cc: | Am909 |
Description (last modified by stoecker)
Single quotes in Tagging presets (combo and multiselect) don't work as expected due to the usage of tr() in display. There must be a special handling, as using '' in this context is not possible.
Attachments (0)
Change History (4)
comment:1 Changed 2 years ago by stoecker
- Description modified (diff)
comment:2 Changed 2 years ago by Am909
- Cc Am909 added
- Keywords quote preset added
- Version set to latest
comment:3 Changed 2 years ago by stoecker
Correct. You copy the wrong value into the real database, which is not a desired result.
comment:4 Changed 23 months ago by stoecker
- Resolution set to fixed
- Status changed from new to closed
In [4170/josm]:
Note: See
TracTickets for help on using
tickets.



As alluded to above, using '' instead of ' in the preset definition appears to fix the problem (e.g. McDonald''s in a preset combobox definition causes McDonald's to appear in the dropdown list). However, if you then choose this item, it shows McDonald's in the textbox, but when it adds the value to the object, it puts McDonald''s there instead.
r3786