Modify ↓
Opened 13 years ago
Closed 13 years ago
#6813 closed defect (fixed)
Quote characters not displayed in relations "note" attribute
Reported by: | Don-vip | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
If a relation does not have any "name" or "ref" attribute, but a "note" containing a quote character, the note value is displayed without the quote in Relations window.
The error comes from MessageFormat.format() call in I18n.trc_lazy() method. I don't know if this call is needed as the given argument is always null ?
Attachments (1)
Change History (5)
by , 13 years ago
Attachment: | josm_quote.png added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
Description: | modified (diff) |
---|
comment:3 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
I guess it is intended for consistency with other
*tr*
methods.But it doesn't seem to be a good idea to run
MessageFormat.format()
on a user string. E.g. the tag "note=brace:{
" causes an exception ("IllegalArgumentException: Unmatched braces in the pattern.").