GaoBiao / bugzilla-cn

Automatically exported from code.google.com/p/bugzilla-cn
0 stars 0 forks source link

undef error - Undefined subroutine &Bugzilla::Template::is_open_state called at Bugzilla/Template.pm line 311. #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Covert the old bugzilla 2.2 to 3.1.2, and migrated the data (Mysql 4)
2. Post a new bug to bugzilla
3. Bugzilla has suffered an internal error. Please save this page and send 
it to phil@flexsystem.com with details of what you were doing at the time 
this message appeared. 

URL: http://127.0.0.1:8011/bugzilla3/post_bug.cgi

undef error - Undefined subroutine &Bugzilla::Template::is_open_state 
called at Bugzilla/Template.pm line 311.  

What is the expected output? What do you see instead?
It should  shows the new bug edit page

What version of the product are you using? On what operating system?
Bugzilla 3.1.2+ with the chinese Template.pm, Windows 2003 Server

Please provide any additional information below.

Original issue reported on code.google.com by pip.c...@gmail.com on 5 Nov 2007 at 6:52

GoogleCodeExporter commented 9 years ago
这应该是数据库的问题,此处的问题并非修改Template.pm所致。
因为我由Bugzilla 3.0升级到3.1.2时也碰到过类似的问题。
虽然checksetup.pl转换了大部分数据库表,但好像至少有两个表�
��部分字段。其中一个表是
"bug_status 
"表少了"is_open"字段,另一个表"groups"少了"icon_url"字段。
具体少哪部分字段可以先用3.1.2全新安装,建立一个新的数据��
�,再对比一下少的字段,并添加上。
当然,最后还是要进行"系统检修"的,因为is_open字段决定了��
�些状态是开放的,哪些状态是关
闭的。

Original comment by jiangyan...@gmail.com on 5 Nov 2007 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by jiangyan...@gmail.com on 4 May 2008 at 10:12