Closed
Bug 227979
Opened 22 years ago
Closed 22 years ago
Editkeywords.cgi HTML validation
Categories
(Bugzilla :: Administration, task)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: goobix, Assigned: goobix)
Details
Attachments
(1 file, 1 obsolete file)
2.55 KB,
patch
|
kiko
:
review+
|
Details | Diff | Splinter Review |
The newly checked-in patches need minor modifications to pass the HTML
validation checker. Thanks kiko for the validation tip :)
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•22 years ago
|
Attachment #137158 -
Flags: review?(kiko)
Comment 2•22 years ago
|
||
Comment on attachment 137158 [details] [diff] [review]
Patch
>Index: template/en/default/admin/keywords/create.html.tmpl
>+ <input type="hidden" name="id" value="-1">
> <input type="submit" value="Add">
> <input type="hidden" name="action" value="new">
I don't see how we actually need this id here, but it goes beyond the scope of
this bug.
Attachment #137158 -
Flags: review?(kiko) → review+
Updated•22 years ago
|
Flags: approval?
Assignee | ||
Updated•22 years ago
|
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.18
Comment 3•22 years ago
|
||
what's the "id" hidden field for?
Assignee | ||
Comment 4•22 years ago
|
||
Ok, I checked and it seems it wasn't used anywhere. I inspected the code and
the functionability via browser and removing that line seems to be okay.
Attachment #137158 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #137161 -
Flags: review?(kiko)
Assignee | ||
Updated•22 years ago
|
Attachment #137158 -
Attachment is obsolete: false
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 137161 [details] [diff] [review]
Version 2
This will generate a warning due to our attempt to detaint the id in all cases.
Attachment #137161 -
Attachment is obsolete: true
Attachment #137161 -
Flags: review?(kiko)
Assignee | ||
Comment 6•22 years ago
|
||
I recommend per kiko's suggestion to checkin the HTML-validation thing and worry
about removing the unused "-1" in a later patch.
Updated•22 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 7•22 years ago
|
||
Checking in template/en/default/admin/keywords/create.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/keywords/create.html.tmpl,v
<-- create.html.tmpl
new revision: 1.3; previous revision: 1.2
done
Checking in template/en/default/admin/keywords/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/keywords/edit.html.tmpl,v
<-- edit.html.tmpl
new revision: 1.2; previous revision: 1.1
done
Checking in template/en/default/admin/keywords/list.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/keywords/list.html.tmpl,v
<-- list.html.tmpl
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•