Closed Bug 542328 Opened 14 years ago Closed 14 years ago

extensions/create.pl does not give the lib/Util.pm module a correct package name

Categories

(Bugzilla :: Extensions, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: timello, Assigned: timello)

Details

Attachments

(1 file)

Attached patch Simple fix.Splinter Review
It is missing the module name in the package entry.
Attachment #423621 - Flags: review?(mkanat)
Status: NEW → ASSIGNED
Comment on attachment 423621 [details] [diff] [review]
Simple fix.

>Index: template/en/default/extensions/config.pm.tmpl
>-package B[% %]ugzilla::Extension::[% name %];
>+package B[% %]ugzilla::Extension::[% name %]::Config;

  This is incorrect, this part of the patch isn't necessary. (See the Bugzilla::Extension docs.) I'll remove this section on checkin.



  The Util part is right, though.
Attachment #423621 - Flags: review?(mkanat) → review+
Flags: approval+
Target Milestone: --- → Bugzilla 3.6
Assignee: extensions → timello
Summary: extensions/create.pl does not create lib/*.pm modules correctly → extensions/create.pl does not give the lib/Util.pm module a correct package name
Checking in template/en/default/extensions/util.pm.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/extensions/util.pm.tmpl,v  <--  util.pm.tmpl
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: