Modify ↓
Opened 14 years ago
Closed 14 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 )
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 , 14 years ago
Description: | modified (diff) |
---|
comment:2 by , 14 years ago
Cc: | added |
---|---|
Keywords: | quote preset added |
Version: | → latest |
comment:3 by , 14 years ago
Correct. You copy the wrong value into the real database, which is not a desired result.
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 causesMcDonald's
to appear in the dropdown list). However, if you then choose this item, it showsMcDonald's
in the textbox, but when it adds the value to the object, it putsMcDonald''s
there instead.r3786