Need to hook code-error.html.tmpl

RESOLVED FIXED in Bugzilla 3.0

Status

()

Bugzilla
User Accounts
--
enhancement
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Greg Hendricks, Assigned: Greg Hendricks)

Tracking

Bugzilla 3.0
Bug Flags:
approval +
approval3.0 +

Details

Attachments

(1 attachment, 1 obsolete attachment)

1.34 KB, patch
Max Kanat-Alexander
: review+
Details | Diff | Splinter Review
(Assignee)

Description

11 years ago
Created attachment 267502 [details] [diff] [review]
Patch v1

Plugins have to be able to throw their own set of code errors.
Attachment #267502 - Flags: review?(mkanat)

Updated

11 years ago
Assignee: user-accounts → ghendricks
Severity: normal → enhancement
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 3.0

Updated

11 years ago
Status: NEW → ASSIGNED

Comment 1

11 years ago
Comment on attachment 267502 [details] [diff] [review]
Patch v1

This hook only gets triggered if the error is invalid_post_bug_submit_action.
Attachment #267502 - Flags: review?(mkanat) → review-
(Assignee)

Comment 2

11 years ago
Created attachment 267591 [details] [diff] [review]
Patch v2

Works the same way as user-error.
Attachment #267502 - Attachment is obsolete: true
Attachment #267591 - Flags: review?(mkanat)
(Assignee)

Updated

11 years ago
Attachment #267591 - Attachment is patch: true
Attachment #267591 - Attachment mime type: text/x-patch → text/plain

Comment 3

11 years ago
Comment on attachment 267591 [details] [diff] [review]
Patch v2

Yeah, this looks right. You tested it?
Attachment #267591 - Flags: review?(mkanat) → review+
(Assignee)

Comment 4

11 years ago
Yes, this is working
(Assignee)

Updated

11 years ago
Flags: approval?
(Assignee)

Updated

11 years ago
Flags: approval3.0?

Updated

11 years ago
Flags: approval?
Flags: approval3.0?
Flags: approval3.0+
Flags: approval+
(Assignee)

Comment 5

11 years ago
cvs ci -m "Bug 383520 – Need to hook code-error.html.tmpl
Patch by ghendricks r=mkanat a=mkanat" -l "/bmo-tip/template/en/default/global/code-error.html.tmpl"
    Checking in template/en/default/global/code-error.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl,v  <--  code-error.html.tmpl
    new revision: 1.97; previous revision: 1.96
    done

cvs ci -m "Bug 383520 – Need to hook code-error.html.tmpl
Patch by ghendricks r=mkanat a=mkanat" -l "/bmo-3.0-branch/template/en/default/global/code-error.html.tmpl"
    Checking in template/en/default/global/code-error.html.tmpl;
    /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl,v  <--  code-error.html.tmpl
    new revision: 1.92.2.3; previous revision: 1.92.2.2
    done
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.