-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error creating defect in telegram_message_bug_added #33
Comments
Hello!
Please send me your:
Mantisbt version, database version, php version, telegrambot version.
ср, 30 сент. 2020 г., 13:59 totojo85 <[email protected]>:
… I have integrated the testlink, mantis and the telegram bot.
When trying to create a defect in the testlink, it shows me an error in
the log, indicating the following:
[Wed Sep 30 06:19:25.123920 2020] [:error] [pid 19504] [client
172.31.12.165:10648] [mantisconnect.php] Error Type: SYSTEM
NOTICE,\nError Description: Undefined variable: p_bug_id\nStack
Trace:\nUnknownFile L? telegram_message_bug_added('EVENT_REPORT_BUG', (
[attachment_count] => NULL, [bugnotes_count] => NULL ), 16)\nevent_api.php
L206 call_user_func_array( { [0] => ( [name] => 'TelegramBot',
[description] => 'Adds the user interaction function to the MantisBT via
the Telegram messenger.', [page] => 'config_page', [version] => '1.5.0',
[requires] => { ['MantisCore'] => '2.14.0' }, [uses] => NULL, [author] =>
'Grigoriy Ermolaev', [contact] => ***@***.***', [url] => '
http://github.com/mantisbt-plugins/TelegramBot
<https://github.com/mantisbt-plugins/TelegramBot>', [basename] =>
'TelegramBot' ), [1] => 'telegram_message_bug_added' }, { [0] =>
'EVENT_REPORT_BUG', [1] => ( [attachment_count] => NULL, [bugnotes_count]
=> NULL ), [2] => 16 })\nevent_api.php L232
event_callback('EVENT_REPORT_BUG', 'telegram_message_bug_added',
'TelegramBot', { [0] => ( [attachment_count] => NULL, [bugnotes_count] =>
NULL ), [1] => 16 })\nevent_api.php L164
event_type_execute('EVENT_REPORT_BUG', { ['TelegramBot'] => { [0] =>
'telegram_message_bug_added' } }, { [0] => ( [attachment_count] => NULL,
[bugnotes_count] => NULL ), [1] => 16 })\nIssueAddCommand.php L462
event_signal('EVENT_REPORT_BUG', { [0] => ( [attachment_count] => NULL,
[bugnotes_count] => NULL ), [1] => 16 })\nCommand.php L137
process()\nmc_issue_api.php L946 execute()\nUnknownFile L?
mc_issue_add('administrator', 'root', ( [project] => ( [id] => 1 ),
[category] => 'General', [reporter] => ( [name] => 'admin' ), [summary] =>
'/TL20/Prueba/BT20-1:Prueba bot - Ejecutado EL (FORMATO ISO): 2020-09-29
07:13:46', [description] => 'fg' ))\nmantisconnect.php L89 handle()\n
[Wed Sep 30 06:19:25.125653 2020] [:error] [pid 20427] [client
172.31.26.20:60132] PHP Fatal error: Uncaught SoapFault exception:
[SOAP-ENV:Server] Error Type: SYSTEM NOTICE,\nError Description: Undefined
variable: p_bug_id in
/var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php:461\nStack
trace:\n#0
/var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php(461):
SoapClient->__call('mc_issue_add', Array)\n#1
/var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php(461):
SoapClient->mc_issue_add('administrator', 'root', Array)\n#2
/var/www/html/TL201/lib/functions/exec.inc.php(703):
mantissoapInterface->addIssue('/TL20/Prueba/BT...', 'fg',
Object(stdClass))\n#3 /var/www/html/TL201/lib/execute/bugAdd.php(38):
addIssue(Object(database), Object(stdClass), Object(mantissoapInterface),
Array)\n#4 {main}\n thrown in
/var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php
on line 461, referer:
https://www.zmagadx.com/TL201/lib/execute/bugAdd.php?user_action=create&tcversion_id=5&tproject_id=1&tplan_id=2&exec_id=2&tcstep_id=0
error.log
<https://github.com/mantisbt-plugins/TelegramBot/files/5303614/error.log>
testlink.log
<https://github.com/mantisbt-plugins/TelegramBot/files/5303615/testlink.log>
access.log
<https://github.com/mantisbt-plugins/TelegramBot/files/5303617/access.log>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#33>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGRAVQ4DBDTHIDTW4XKXY3SILJM5ANCNFSM4R6WOWIQ>
.
|
Hello! The versions are as follows: Php: 5.6.40 |
@totojo85, Could you send a detailed list of your actions leading to this error? |
And what is this file? It is not included in the standard mantisbt distribution. |
I have integrated the testlink, mantis and the telegram bot.
When trying to create a defect in the testlink, it shows me an error in the log, indicating the following:
[Wed Sep 30 06:19:25.123920 2020] [:error] [pid 19504] [client 172.31.12.165:10648] [mantisconnect.php] Error Type: SYSTEM NOTICE,\nError Description: Undefined variable: p_bug_id\nStack Trace:\nUnknownFile L? telegram_message_bug_added('EVENT_REPORT_BUG', ( [attachment_count] => NULL, [bugnotes_count] => NULL ), 16)\nevent_api.php L206 call_user_func_array( { [0] => ( [name] => 'TelegramBot', [description] => 'Adds the user interaction function to the MantisBT via the Telegram messenger.', [page] => 'config_page', [version] => '1.5.0', [requires] => { ['MantisCore'] => '2.14.0' }, [uses] => NULL, [author] => 'Grigoriy Ermolaev', [contact] => '[email protected]', [url] => 'http://github.com/mantisbt-plugins/TelegramBot', [basename] => 'TelegramBot' ), [1] => 'telegram_message_bug_added' }, { [0] => 'EVENT_REPORT_BUG', [1] => ( [attachment_count] => NULL, [bugnotes_count] => NULL ), [2] => 16 })\nevent_api.php L232 event_callback('EVENT_REPORT_BUG', 'telegram_message_bug_added', 'TelegramBot', { [0] => ( [attachment_count] => NULL, [bugnotes_count] => NULL ), [1] => 16 })\nevent_api.php L164 event_type_execute('EVENT_REPORT_BUG', { ['TelegramBot'] => { [0] => 'telegram_message_bug_added' } }, { [0] => ( [attachment_count] => NULL, [bugnotes_count] => NULL ), [1] => 16 })\nIssueAddCommand.php L462 event_signal('EVENT_REPORT_BUG', { [0] => ( [attachment_count] => NULL, [bugnotes_count] => NULL ), [1] => 16 })\nCommand.php L137 process()\nmc_issue_api.php L946 execute()\nUnknownFile L? mc_issue_add('administrator', 'root', ( [project] => ( [id] => 1 ), [category] => 'General', [reporter] => ( [name] => 'admin' ), [summary] => '/TL20/Prueba/BT20-1:Prueba bot - Ejecutado EL (FORMATO ISO): 2020-09-29 07:13:46', [description] => 'fg' ))\nmantisconnect.php L89 handle()\n
[Wed Sep 30 06:19:25.125653 2020] [:error] [pid 20427] [client 172.31.26.20:60132] PHP Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] Error Type: SYSTEM NOTICE,\nError Description: Undefined variable: p_bug_id in /var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php:461\nStack trace:\n#0 /var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php(461): SoapClient->__call('mc_issue_add', Array)\n#1 /var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php(461): SoapClient->mc_issue_add('administrator', 'root', Array)\n#2 /var/www/html/TL201/lib/functions/exec.inc.php(703): mantissoapInterface->addIssue('/TL20/Prueba/BT...', 'fg', Object(stdClass))\n#3 /var/www/html/TL201/lib/execute/bugAdd.php(38): addIssue(Object(database), Object(stdClass), Object(mantissoapInterface), Array)\n#4 {main}\n thrown in /var/www/html/TL201/lib/issuetrackerintegration/mantissoapInterface.class.php on line 461, referer: https://www.zmagadx.com/TL201/lib/execute/bugAdd.php?user_action=create&tcversion_id=5&tproject_id=1&tplan_id=2&exec_id=2&tcstep_id=0
error.log
testlink.log
access.log
The text was updated successfully, but these errors were encountered: