Opened 6 years ago

Closed 6 years ago

#13881 closed (duplicate)

Sitemaps are broken by L10N

Reported by: Vladimir Pouzanov Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords: sitemaps, l10n
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

If you enable L10N with some locale that doesn't use "." as decimal separator (e.g. "ru" switches it to ","), sitemaps become broken: <priority> tag is L10N-ized.

Attachments (3)

13881.tests.patch (2.6 KB) - added by Gregor Müllegger 6 years ago.
Creating regressiontestmodule for sitemaps application and failing tests for the descriptions in the ticket.
13881.tests_and_fix.patch (3.5 KB) - added by Gregor Müllegger 6 years ago.
Same tests as in first patch, but now includes a simple fix for the issue.
13881.tests_and_fix2.patch (3.4 KB) - added by Gregor Müllegger 6 years ago.
"refactored" patch.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Gregor Müllegger

Attachment: 13881.tests.patch added

Creating regressiontestmodule for sitemaps application and failing tests for the descriptions in the ticket.

Changed 6 years ago by Gregor Müllegger

Attachment: 13881.tests_and_fix.patch added

Same tests as in first patch, but now includes a simple fix for the issue.

comment:1 Changed 6 years ago by Gregor Müllegger

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted
Version: 1.2SVN

I can confirm that this issue exists.

Tests and a fix are attached.

Changed 6 years ago by Gregor Müllegger

Attachment: 13881.tests_and_fix2.patch added

"refactored" patch.

comment:2 Changed 6 years ago by anonymous

Looks like duplicate #13617

comment:3 Changed 6 years ago by Matthias Kestenholz

Resolution: duplicate
Status: newclosed

Duplicate of (fixed) #14164

#14181 targets broader issue of L10N formatting of numbers/variables.

Note: See TracTickets for help on using tickets.
Back to Top