Red Hat Bugzilla – Bug 617203
config.cgi is failing in 3.6
Last modified: 2013-06-23 23:39:37 EDT
running the testscript: t/203_selenium_config.t
is failing, looking in the httpd logs I found the error:
[Thu Jul 22 23:15:12 2010] [error] Undefined subroutine &ModPerl::ROOT::Bugzilla::ModPerl::ResponseHandler::var_www_html_bugzilla_2dredhat_branches_upstream_2d3_2e6_config_2ecgi::display_data called at /var/www/html/bugzilla-redhat/branches/upstream-3.6/config.cgi line 61.\n
so found that the display_data() subroutine was missing from our branch, when looked at the upstream code it was different to our code attached is a patch that adds the missing code and after adding that patch the test passed successfully.
Created attachment 433697 [details]
v1 for patch to add upstream code to config.cgi
Thanks for finding this Noura. Actually our config.cgi is very different from upstream as I use a cron script now to generate the public config.* files that are used by config.cgi instead of generating the content dynamically. Doing it dynamically was very slow since we have products with lots of components. So we need to leave config.cgi as it is for now. I have checked in a fix for the display_data() issue to SVN. Please reopen this bug if the problem persists after updating your code.