Closed Bug 588483 Opened 14 years ago Closed 14 years ago

Can't call bug.defined in templates

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: guy.pyrzak, Assigned: mkanat)

References

Details

(Whiteboard: [fixed by blocker])

when calling bug.defined from template/en/default/bug/show-header.html.tmpl the tool results in the following error: undef error - invalid bug attribute defined at Bugzilla/Bug.pm line 4055 Bugzilla::Bug::AUTOLOAD('Bugzilla::Bug=HASH(0x1020d0678)') called at template/en/default/bug/show-header.html.tmpl line 49 eval {...} called at template/en/default/bug/show-header.html.tmpl line 49 eval {...} called at template/en/default/bug/show-header.html.tmpl line 12 Template::Provider::__ANON__('Bugzilla::Template::Context=HASH(0x101e957d8)') called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Document.pm line 151 eval {...} called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Document.pm line 149 Template::Document::process('Template::Document=HASH(0x10214fdb0)', 'Bugzilla::Template::Context=HASH(0x101e957d8)') called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Context.pm line 351 eval {...} called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Context.pm line 321 Template::Context::process('Bugzilla::Template::Context=HASH(0x101e957d8)', 'bug/show-header.html.tmpl') called at Bugzilla/Template/Context.pm line 45 Bugzilla::Template::Context::process('Bugzilla::Template::Context=HASH(0x101e957d8)', 'bug/show-header.html.tmpl') called at template/en/default/bug/show.html.tmpl line 30 eval {...} called at template/en/default/bug/show.html.tmpl line 18 Template::Provider::__ANON__('Bugzilla::Template::Context=HASH(0x101e957d8)') called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Document.pm line 151 eval {...} called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Document.pm line 149 Template::Document::process('Template::Document=HASH(0x10202f858)', 'Bugzilla::Template::Context=HASH(0x101e957d8)') called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Context.pm line 351 eval {...} called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Context.pm line 321 Template::Context::process('Bugzilla::Template::Context=HASH(0x101e957d8)', 'Template::Document=HASH(0x10202f858)') called at Bugzilla/Template/Context.pm line 45 Bugzilla::Template::Context::process('Bugzilla::Template::Context=HASH(0x101e957d8)', 'Template::Document=HASH(0x10202f858)') called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Service.pm line 94 eval {...} called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template/Service.pm line 91 Template::Service::process('Template::Service=HASH(0x100fb50c0)', 'bug/show.html.tmpl', 'HASH(0x100804ed0)') called at /Library/Perl/5.10.0/darwin-thread-multi-2level/Template.pm line 66 Template::process('Bugzilla::Template=HASH(0x100816860)', 'bug/show.html.tmpl', 'HASH(0x100804ed0)') called at Bugzilla/Template.pm line 589 Bugzilla::Template::process('Bugzilla::Template=HASH(0x100816860)', 'bug/show.html.tmpl', 'HASH(0x100804ed0)') called at /Users/pyrzak/Sites/karma_2/trunk/show_bug.cgi line 128
Blocks: 577720
Depends on: 600123
Assignee: ui → mkanat
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by blocker]
Target Milestone: --- → Bugzilla 4.2
You need to log in before you can comment on or make changes to this bug.