Hello all.
I created a plugin for Glpi which link a Glpi ticket to a mantisBT project (and
creating MantisBT issue with mantiConnect).
When i want to link a glpi ticket to a mantis project, the issue is created but
the function issue_add() return an error :
[Mon Jun 16 11:30:16 2014] [error] [client 10.0.0.128] [mantisconnect.php]
Error Type: SYSTEM NOTICE,\n Error Description: unserialize(): Error at offset
185 of 249 bytes \ nStack Trace:\nemail_queue_api.php L118
unserialize(<string>'a:4:{s:8:"priority";s:1:"3";s:7:"charset";s:11:"iso-8859-15";s:8:"hostname";s:22:"********";s:7:"headers";a:2:{s:8:"keywords";s:39:"[Fonds
documentaires] scripts
d\\'export";s:11:"In-Reply-To";s:34:"<2f034b8cb3d79e3d4563b0e0ad013749>";}}')\nemail_queue_api.php
L152 email_queue_row_to_object(<Array> { ['email_id'] => '1128', ['email'] =>
'********', ['subject'] => '[Fonds documentaires 0001762]: Anomalie de
diffusion des Abonnements par Mail - Abonn\xc3\xa9s - (r\xc3\xa9f\xc3\xa9rence
DSI 2008)', ['metadata'] =>
'a:4:{s:8:"priority";s:1:"3";s:7:"charset";s:11:"iso-8859-15";s:8:"hostname";s:22:"******";s:7:"headers";a:2:{s:8:"keywords";s:39:"[Fonds
documentaires] scripts
d\\'export";s:11:"In-Reply-To";s:34:"<2f034b8cb3d79e3d4563b0e0ad013749>";}}',
['body'] => 'La fiche suivante a \xc3\xa9t\xc3\xa9 assign\xc3\xa9e.
\n======================================================================
\nhttp://****/view.php?id=1762
\n======================================================================
\nRapporteur: jmpalacios\nResponsable: Cross
Database\n======================================================================
\nProjet: Fonds documentaires\nFiche ID: 1762\nCat\xc3\xa9gorie: scripts
d\\'export\nReproductibilit\xc3\xa9:
al\xc3\xa9atoire\nS\xc3\xa9v\xc3\xa9rit\xc3\xa9: majeur\nPriorit\xc3\xa9:
normale\nEtat: affect\xc3\xa9\nCahier des Charges: \nType de fiche: Anomalie
\nApplication: Abonn\xc3\xa9s, Autres \nFonds: DCE, DTC \nDate demande:
03-11-2008
\n====================================================================== \nDate
de soumission: 10-11-2008 15:24\nDerni\xc3\xa8re modification: 12-11-2008
11:22\n======================================================================
\nR\xc3\xa9sum\xc3\xa9: Anomalie de diffusion des Abonnements par Mail -
Abonn\xc3\xa9s - (r\xc3\xa9f\xc3\xa9rence DSI 2008)\nDescription: \nLes exports
Abonn\xc3\xa9s des 03.11 et 10.11.2008 n\\'ont pu \xc3\xaatre diffus\xc3\xa9
en\nautomatique. Le traitement se d\xc3\xa9roule normalement selon la console
de\nsupervision. Les logs sont propres.\r\nL\\'adresse "*****" n\\'est pas
utilisable par\nle traitement automatique alors que l\\'envoi en manuel des
pi\xc3\xa8ces jointes \xc3\xa0\ncette adresse de diffusion fonctionne
tr\xc3\xa8s
bien.\n======================================================================
\n\n---------------------------------------------------------------------- \n
(0003121) jmpalacios (d\xc3\xa9veloppeur) - 12-11-2008 11:21\n
*****/view.php?id=1762#c3121
\n----------------------------------------------------------------------
\nDemande d\\'investigation \xc3\xa0 CDB pour modifier le script en gestion
d\\'erreur\net ajouter un test sur l\\'ex\xc3\xa9cution effective du
traitement. \n\nHistorique de la fiche \nDate modifi\xc3\xa9e Utilisateur Champ
Changer
\n======================================================================
\n10-11-2008 15:24 jmpalacios Nouvelle fiche \n10-11-2008 15:24 jmpalacios Etat
nouveau => affect\xc3\xa9 \n10-11-2008 15:24 jmpalacios Assign\xc3\xa9e
\xc3\xa0 => jmpalacios \n10-11-2008 15:24 jmpalacios Type de fiche => Anomalie
\n10-11-2008 15:24 jmpalacios Application => Abonn\xc3\xa9s, Autres
\n10-11-2008 15:24 jmpalacios Fonds => DCE, DTC \n10-11-2008 15:24 jmpalacios
Date demande => 03-11-2008 \n12-11-2008 11:21 jmpalacios Note ajout\xc3\xa9e:
0003121 \n12-11-2008 11:21 jmpalacios Description mise \xc3\xa0 jour
\n12-11-2008 11:22 jmpalacios Assign\xc3\xa9e \xc3\xa0 jmpalacios => Cross
Database\n======================================================================',
['submitted'] => '1226485354' })\nemail_api.php L854
email_queue_get(<string>'1128')\nemail_api.php L586
email_send_all()\nemail_api.php L730 email_generic(<string>'4203',
<string>'new',
<string>'email_notification_title_for_action_bug_submitted')\nmc_issue_api.php
L708 email_new_bug(<string>'4203')\nUnknownFile L? mc_issue_add(<string>'glpi',
<string>'teclib', <Object><stdClass> ( [project] => <Object><stdClass> ( [id]
=> 5 ), [category] => 'Consultation', [summary] => 'test lien mantis glpi',
[description] => 'ceci est un test </br></br>ne pas en tenir compte',
[steps_to_reproduce] => '', [additional_information] => 'Titre = Test Mantis -
Ariane <br/>Description = Test echange GLPI MANTIS <br/>Pas de suivi </br>Pas
de t\xc3\xa2che </br>Cat\xc3\xa9gories = ARIANEWEB <br/>Link to Glpi ticket =
http://gesparc.conseil-etat.fr/glpi/front/ticket.form.php?id=2014052242 <br/>',
[notes] => <Array> { } ))\nmantisconnect.php L123 handle()\n
I have disabled all mail notification from the user which created the issue and
i have the same error.
MantisBT 1.2.17 is on CentOS serveur and apache2 php5 soap are up to date.
thank you for your reply
Cordially
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
mantisbt-help mailing list
mantisbt-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-help