Currently Bugzilla/Template.pm allows all constants in Bugzilla::Constants to be passed to the templates if they need access to them. Constants in Bugzilla::WebService::Constants are not passed in. This could be useful to have access to for error messages, etc. such as in user-error.html.tmpl. Patch coming dkl
Created attachment 597494 [details] [diff] [review] Patch to allow access to webservice constants in templates (v1)
Comment on attachment 597494 [details] [diff] [review] Patch to allow access to webservice constants in templates (v1) >+ WS_DISPATCH => \&Bugzilla::WebService::Constants::WS_DISPATCH, I really doubt we will ever need it to be accessible from templates. And in the rare case where we would, we should pass it to the template explicitly. r=LpSolit with this line removed.
Committing to: bzr+ssh://email@example.com/bugzilla/trunk modified Bugzilla/Template.pm Committed revision 8115.