Bonjour,
Dans le cadre du développement d'une application qui gérerait mes bugs (mantis), je me suis rapproché du web-service MantisConnect.
Le déploiement est correct, toutefois je rencontre un problème avec la méthode mc_issue_get(). En effet, lors de la recherche d'un bug, la méthode me retourne bien un objet de type IssueData() avec les informations correctement remplies.
Cependant, lorsque je rajoute une note au bug, la méthode ne fonctionne plus. J'ai une erreur "L'élément faultstring doté du nom d'espace de nom " est introuvable. Ligne 6, position 117".
Je supprime la note et voila que la méthode me retourne mon objet. Oo
Le moyen de contournement adopté pour l'instant et de commenter la ligne : $t_issue_data['notes'] = mci_issue_get_notes( $p_issue_id ); du fichier mc_issue_api.php.
Je développe sous visualStudio 2010 - C# ^^
Quelqu'un aurait-il une idée d'où cela peut venir ?
Merci d'avance de vos retour.
MantisConnect | Erreur méthode mc_issue_get()
Moderators: Developer, Contributor
Re: MantisConnect | Erreur méthode mc_issue_get()
Bonjour,
(That's all the french I know, sorry )
This looks like
0012977: When webservice throw an exception, the "faultstring" element doesn't have a valid namespace.
http://www.mantisbt.org/bugs/view.php?id=12977
But it's not yet fixed. Contributions are welcome, since it's not easy for me to reproduce and fix.
Robert
(That's all the french I know, sorry )
This looks like
0012977: When webservice throw an exception, the "faultstring" element doesn't have a valid namespace.
http://www.mantisbt.org/bugs/view.php?id=12977
But it's not yet fixed. Contributions are welcome, since it's not easy for me to reproduce and fix.
Robert
-
- Posts: 2
- Joined: 25 Feb 2013, 15:19
Re: MantisConnect | Erreur méthode mc_issue_get()
Thank you for the return
As I stated in the subject, I bypasses the exception commenting on some of the side PHP code.
If it helps, I joinds with my answer a screen of the error.
Sincerely,
Seb.
As I stated in the subject, I bypasses the exception commenting on some of the side PHP code.
If it helps, I joinds with my answer a screen of the error.
Sincerely,
Seb.
- Attachments
-
- Exception.png (70.34 KiB) Viewed 5613 times