View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014039 | mantisbt | api soap | public | 2012-03-12 17:15 | 2012-08-26 16:15 |
Reporter | Trebly | Assigned To | rombert | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Eclipse Windows X64 | OS | Windows 7 X64 | OS Version | SP1 |
Product Version | 1.2.9 | ||||
Summary | 0014039: Error when performing tag operations on bugs | ||||
Description | Use context win7 64x EClipse with JRE 7, After connecting (new task from marker) I get the Tak panel, redact and SUBMIT then I get the error : The repository has returned an invalid XML response : Bad envelope tag: tr I found on a forum (listed in Google): the following answer : 201&-12-12 14:38:56 | Category: Mantis php set memory capacity is not enough to find the php.ini file, set the memory_limit = 256M or higher The other bad envelope of tag: ... may also be caused by this problem, you can try As I was already set to 386Mo, I set the server memory to 456Mo and restart Apache, the transaction occurred once only.... No possibility to SUBMIT to MANTISBT Which is by his url perfectly accessible by users as GUI. I don't understand what happens. | ||||
Steps To Reproduce | Unknown if the exact context doesn't exist | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
This looks unfamiliar to me : "Bad envelope tag: tr" . Usually I get "Bad envelope tag: br" which is the way PHP formats its errors. Can you install SOAP UI as described at http://sourceforge.net/apps/mediawiki/mylyn-mantis/index.php?title=Troubleshooting#Verifying_the_Mantis_SOAP_API_using_SOAP_UI and validate that the two listed operations works? |
|
Hi, The duplicate is 14039... not 14040, curious ? So I will make now the the test about SOAP UI and install. But the best too should be to swap status between 39 and 40. I go on quickly |
|
Hi, I wait till status of 39 and 40 should be confirmed |
|
Hi, I've set the most recent bug as duplicate. I've looked at your screenshots, and it seems that the problem is only related to tagging. I've recently fixed that problem in git, so please use the latest git version ( master-1.2.x branch ) and reopen this report if the problem still happens. |
|
The commit which solved the problem is https://github.com/mantisbt/mantisbt/commit/46ff26ec28a251817c7fff9992efcb3501477655 |
|
Hi, Error loading http:__ld1.mantisbt.trebly.net/api/soap/mantisconnect.php?WSDL: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected character encountered: 'c Best regard Note: Again I got an answer refused probables because of the presence of an URL into error message, I try again |
|
Hi, A few minutes after reading, I made the patch. joined the screenshot : 2012-03-14 09:08 Trebly File Added: ECLIPSE-Myllyn-MantisBT-Submit-error-B20314-1.jpg is wrong : must be deleted : error in patch The patch don't changes anything. Remark about upload of files : |
|
Just to make sure we're talking about the same thing. Try a fresh install from https://github.com/mantisbt/mantisbt/zipball/master-1.2.x . It is the most recent unreleased 1.2.x version. This will contain the fixes you need. Also I'd like to know what PHP Version and what database server ( including version ) you're using. If using SQL server, let me know what driver it is. |
|
I use mysql; The versions are : Mysql : 5.5.10 Today : Test with SOAP UI : More precise It seems that SOAP don't answers what is waited. Hi, About my installation (which runs SOAP from others applications) : 1- I have created a local repository on a sever, then access it with Apache. For this everything is OK (I would want nevertheless to install some plugins that I found). 2- Around this subject, with keeping in mind the aim to find the global solution and make it function with Mylyn (a necessity), I looked at plugings management. First I am interested in (Wiki edition, and Markup adaptations particularly), but too, may be I have an installation problem. So I would want to check up my installation, I have not found specific recommendations from MantisBT, about such installation (I used the Developer documents and the SF doc you have ref first). To do this, install plugins (may be develop in the future), after looking to the structure of the whole soft, I looked at plugins install. It remains, after several hours of work, a lot of things not completely clear (time to read many things about, what have been done, compatibility, packages, source management etc...). 1- First I have not found how to install the "source plugin" (it seems that there is a loop -an auto-reference - in documentation) 2- Install plugin can be made manually (sources), but I could not found the repository access to download all components of a plugin (which can be packed). 3- Many things seem to be several year old, so I am not sure that what I found is update and 1.2.10 compatible. Where is a synthesis about all plugins and compatibility, I am not sure to have visited. I am conscious that these questions are farther than the "bug" but if my installation is not right, they are directly linked to. Thanks for your answer. Remark : Paris 9:21 am. I wrote this morning : About my organization and the SVN SouceForge choice. I am working with the Opensource project TikiWiki, so I have repositories (wher I commit into my experimental branches in SourceForge and another local on my Server fro managing my own delopment with external access Why MantisBT : because when I look up to a task manager, I have preferred widely MantisBT. About the "bug" (a true one) |
|
Hi, Rombert I have no solution till now. 1- the SOAP-UI serves on test the available functions and there is no connection problems I do believe that the lonely solution should to generate a trace from my MantisBT server. I could try but has I don't know well the product it will generate a lot of time spend without efficiency and I have others priorities and my job is not done (I have near 50 bugs and enhancements to manage, the reason why for myself I was wishing to use Mantis and more a wiki linked to organized the whole project). May be you have some patches and/or recommendations to find where the error is generated. If not I don't imagine how to solve this issue. Best regards Trebly |
|
Trebly, I have no idea how to troubleshoot your issues from this information. I can take a look at your Mantis instance if you want - just by calling the SOAP API to see if I can find the issue. If you prefer the instance details to be private, notify me by email ( robert.munteanu@gmail.com ). |
|
Hi, I write private. Here I can tell about my idea. thanks Trebly |
|
I've performed some tests using the credentials you sent me. Apparently there is an error in your phpmailer configuration: phpmailerException: Invalid address: root@localhost in ...\MantisBT\library\phpmailer\class.phpmailer.php on line 462 . Can you correct this and try again? Also note that the task does get updated in my tests, just that this error comes up. |
|
Hi, The exception comes from an error in phpmailer the function "ValidateAddress" which returns always false and raises the exception... I will install a trace. I use normally ssl with the port defined by my sites and domain host OVH. There is no root@localhost defined anywhere. If I am not successful tomorrow I will try for a while to define a standard smtp. trebly Best regards note : a problem when submitting a note, I got "double registering", which generates not validated "Add note" and inactivation of the button. Refresh is identical and the "Add Note" button remains not activated. The page need to be closed to submit the note (saved separately) again. EDIT (dregad) added spaces around html PRE tag to prevent wide page |
|
|
|
Any news on this? |
|
Hi, For mail I could not set the parameters in a good way but not only with MantisBT. So I have to write a test soft, or use an existing one. There is a problem on others applications on the server. The OVH documentation is not so clear. I will write a little soft which can allow to change parameters easily and control the mail process. There was no problem before so I need to identify the origin and be able to be quickly sure of the parameter of an installation. I would know from you, where in the soft I can set a trace soft (it writes data with the help of xdebug functions sometimes) So if you could add into the MantisBT soft (soap module) the targeted points where to get information about soap transactions we could get a file with all is done when sending back information after registering a task. To write this you have just to add add lines //###writetrac: <data> These optional "execution reports" are text/plain or html. I made this so that with soft which must not write nothing to output (ob_) because of no text/html Mime types (as images) I could get targeted traces while the execution with checks (ECLIPSE) can't be always used efficiently or not easily used on a server. About my note which cancerns execution of MantisBT application of MantisBT site : 2- When I submit my "note" (Add note) I get a page with "Error, may be you submit twice" (If needed I have screenshot) 3- If I make a "back" (navigator) the page is normal with the note but the button "add note" is disactivated 4- I must reload, this reconnects but the message (note) is then lost (To avoid this I make always a copy on all sites) 5- I re-submit and it is OK It is quite a bug, a classical cause is a session expiration during redaction. Then the system has to manage a note from an unknown user, incoherent situation, but it reconnects automatically, after... what appends ?, I have the same problem in an opensource larger than Mantis in which I have several roles, a little developer, and we have to solve this problem. The other solution is when a submit occurs to keep the received content and when the error page is reached, test auto-reconnect or ask please reconnect and if successful submit the waiting task (add-note) Trebly note added by edit : it occurs for this note |
|
Just to confirm, you mentioned two problems:
is that correct? For problem 1 I'd need to know more details about your email settings. |
|
Hi, Not exactly, 3 problems, one main et two secondary ones : 1- Main SOAP pb main of the thread the error I was talking about the tools to find this bug. I have a lib which is able to make hidden traces (as XDEBUG which I use) but multi process. 2- Secondary problems Best regards Trebly |
|
Regarding 1 - your main problem . I am now convinced that the cause of the SOAP API errors is the the email delivery failure. To help you debug the problem, you can do the following:
I think that you will get clearer error messages when using scripts/end_emails.php . I'm also downgrading the priority/severity since this is more or a configuration/integration issue. |
|
Did you manage to try the configuration I suggested to debug/solve your email problems? |
|
Trebly, you did not provide any feedback. I am resolving this issue as "no change required". Feel free to provide the requested feedback at a later time and to reopen the issue. |
|