Closed
Bug 768347
Opened 14 years ago
Closed 14 years ago
Templates do not allow empty parameters
Categories
(developer.mozilla.org Graveyard :: General, defect)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: trevorhemail-mozbug, Assigned: lorchard)
Details
(Whiteboard: u=user c=wiki s=2012-07-18 p=2 t=2012-07-09)
Using a template with an empty, parameter results in a Syntax error with Expected "\\\"" or [^"\\] but "\"" found.
I would expect that the parameter would be available as an empty string to the template.
Updated•14 years ago
|
Whiteboard: u=user c=wiki s=2012-07-18 p=
| Assignee | ||
Comment 1•14 years ago
|
||
Can you point at a sample page where you saw this error?
Updated•14 years ago
|
Whiteboard: u=user c=wiki s=2012-07-18 p= → u=user c=wiki s=2012-07-18 p=2
https://developer-new.mozilla.org/en-US/docs/User:trevorh/bTest
While the PreviousNext template only uses 2 parameters it should just accept the empty and additional parameters.
| Assignee | ||
Comment 3•14 years ago
|
||
Progress: https://github.com/mozilla/kuma/pull/352
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → lorchard
Comment 4•14 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/1b5731ab74e2d5227f35c11e5db11b70afa766cf
fix bug 768347: Templates should accept empty quoted parameters
https://github.com/mozilla/kuma/commit/acc1da960df51cfd70d9bbaa81b6306c0c8d1ae8
Merge pull request #352 from lmorchard/empty-parameters-768347
fix bug 768347: Templates should accept empty quoted parameters
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: u=user c=wiki s=2012-07-18 p=2 → u=user c=wiki s=2012-07-18 p=2 t=2012-07-09
Updated•13 years ago
|
Version: Kuma → unspecified
Updated•13 years ago
|
Component: Deki Infrastructure → Other
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•