Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Product/Version ?
Bugdar / 1.2.0 Beta
Status ?
Closed
Severity ?
Minor
Duplicate Of ?
- none -
Fixed in Revision ?
1524
Mstone ?
Summary ?
error message on create new bug and forget to add comment
Report Time ?
March 27, 2007 09:08 PM
Assignment ?
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Attachments
bug72.JPG this how it looks
bug72_2.JPG attachment 2
patch.diff Fix
Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

March 27, 2007 09:08 PM
When trying to add new bug and Comment field is not filled in i get following message:
Warning: Warning
call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'bugapi::parent::set' was given in /includes/api_bug.php on line 98

this message pop's up for about 14 times!!!!

March 27, 2007 09:48 PM Robert
Another annoying limitation of PHP4. I'll try to figure out a workaround because it doesn't appear that I can use call_user_func_array() and the parent:: selector.

March 27, 2007 10:28 PM
Almost same happens when all fields writen and Bugdar can save it. But additional message added. Please look in attacment 2.

March 28, 2007 01:20 AM Robert
I've found a work around. It's not nearly as elegant as the code once was, but it's workable. I've attached the patch.

--------------- AUTOMATIC RESPONSE ---------------
Thank you for your bug report. This issue has been closed and fixed in Subversion. This change will be available in a future release, but you can download the change at any time from the Subversion server.

March 28, 2007 03:11 AM
System working again!
Thank you!