Closed
Bug 1019747
Opened 11 years ago
Closed 11 years ago
New user story field in Tracking product is getting copied from Description, not User Story when cloning
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbialer, Assigned: dkl)
Details
Attachments
(1 file)
1.73 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
Clone an existing bug. Instead of the user story clone, the description field is being put into the user story field.
Based on Bug 967793 work.
Comment 1•11 years ago
|
||
Over to BMO.
Gerv
Assignee: extensions → nobody
Component: Extensions → Extensions: Other
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dkl
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8434390 -
Flags: review?(glob)
Comment on attachment 8434390 [details] [diff] [review]
1019747_1.patch
Review of attachment 8434390 [details] [diff] [review]:
-----------------------------------------------------------------
r=glob
::: enter_bug.cgi
@@ +223,4 @@
> $vars->{'qa_contact'} = formvalue('qa_contact');
> $vars->{'qa_contact_disabled'} = !$has_editbugs;
>
> +$vars->{'cloned_bug'} = $cloned_bug;
this should be moved to within the if ($cloned_bug_id) block as it isn't required most of the time.
::: extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl
@@ +23,5 @@
> + [% IF cloned_bug %]
> + [% user_story_default = cloned_bug.cf_user_story %]
> + [% ELSE %]
> + [% user_story_default = "" %]
> + [% END %]
nit: might be tidier as:
[% user_story_default = cloned_bug ? cloned_bug.cf_user_story : "" %]
Attachment #8434390 -
Flags: review?(glob) → review+
Assignee | ||
Comment 4•11 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
b56bcda..db715a7 master -> master
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Extensions: Other → Extensions
You need to log in
before you can comment on or make changes to this bug.
Description
•