Modify ↓
Opened 12 years ago
Closed 12 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 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
Cc: | AM909 added |
---|---|
Keywords: | quote preset added |
Version: | → latest |
comment:3 Changed 12 years ago by
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