Closed Bug 227979 Opened 22 years ago Closed 22 years ago

Editkeywords.cgi HTML validation

Categories

(Bugzilla :: Administration, task)

2.17.6
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: goobix, Assigned: goobix)

Details

Attachments

(1 file, 1 obsolete file)

The newly checked-in patches need minor modifications to pass the HTML validation checker. Thanks kiko for the validation tip :)
Attached patch PatchSplinter Review
Status: NEW → ASSIGNED
Attachment #137158 - Flags: review?(kiko)
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+
Flags: approval?
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.18
what's the "id" hidden field for?
Attached patch Version 2 (obsolete) — Splinter Review
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
Attachment #137161 - Flags: review?(kiko)
Attachment #137158 - Attachment is obsolete: false
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)
I recommend per kiko's suggestion to checkin the HTML-validation thing and worry about removing the unused "-1" in a later patch.
Flags: approval? → approval+
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
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: