Opened 13 years ago

Closed 13 years ago

#6057 closed defect (fixed)

Single quotes in tagging presets not working due to tr() usage

Reported by: stoecker Owned by: team
Priority: major Milestone:
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 by stoecker, 13 years ago

Description: modified (diff)

comment:2 by AM909, 13 years ago

Cc: AM909 added
Keywords: quote preset added
Version: latest

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.


comment:3 by stoecker, 13 years ago

Correct. You copy the wrong value into the real database, which is not a desired result.

comment:4 by stoecker, 13 years ago

Resolution: fixed
Status: newclosed

In [4170/josm]:

fix #6057 - single quotes in presets impossible

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.