Mantis

[Resolved] values in advanced tags like <target_in_version> are not imported

Posted by emjey 
[Resolved] values in advanced tags like <target_in_version> are not imported
June 26, 2008 04:14PM
I try to import a file with values of the advanced properties <eta>, <projection>, <target_version>, <fixed_in_version>, <version>. The import is done, but the values for those properties are not imported.
Is this wanted?
UseCase: I want to import all my changerequests, which already have their target version and so on .

thx,
emjey
Re: values in advanced tags like <target_in_version> are not imported
June 26, 2008 04:30PM
I see the bug you posted winking smiley I&#039;ll take a look tonight or this week-end. Of course it is not wanted (to not import eta, projection, target_version, fixed_in_version and version fields).

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: values in advanced tags like <target_in_version> are not imported
June 26, 2008 04:33PM
thx a lot winking smiley
Re: values in advanced tags like <target_in_version> are not imported
April 10, 2009 06:24PM
Any upgrade for this problem ?
I don&#039;t manage to import the "version" field...

Thanks



Edited 1 time(s). Last edit at 04/10/2009 06:25PM by gregoire.
Re: values in advanced tags like <target_in_version> are not imported
April 13, 2009 09:45AM
Try with product_version instead of version in your XML file.

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: values in advanced tags like <target_in_version> are not imported
April 14, 2009 09:19AM
Thank you so much, It works ! (But when we export bugs, the field is &#039;version&#039; and not &#039;product_version&#039;, so you can&#039;t import exported bugs, I don&#039;t know if I&#039;m clear)
Re: values in advanced tags like <target_in_version> are not imported
April 14, 2009 10:35AM
Another problem : I have double quotes in my bug&#039;s description in my xml file but when I import my bug only the part before the first double quote is imported.

example :
in my xml file : A description : "blablabla"
in mantis : A description :


I tried to put : A description : \"blablabla\" in my xml file
but I doesn&#039;t work



Edited 1 time(s). Last edit at 04/14/2009 10:42AM by gregoire.
Re: values in advanced tags like <target_in_version> are not imported
April 14, 2009 02:53PM
I fix my problem, I replace "manually" every double quote in my xml file by the string &#039;&quot;&#039; (without quote). It works fine.
Re: values in advanced tags like <target_in_version> are not imported
April 14, 2009 03:00PM
I&#039;m not sure that the XML can have " in its content, converting it in &quot; is probably better winking smiley

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: values in advanced tags like <target_in_version> are not imported
April 14, 2009 03:09PM
But when we export bugs with " in the description, we have " in the xml file winking smiley
Re: values in advanced tags like <target_in_version> are not imported
April 14, 2009 03:13PM
Ok, I&#039;ll take a look.

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Sorry, only registered users may post in this forum.

Click here to login



Online Users

Guests: 12
Record Number of Users: 1 on April 02, 2023
Record Number of Guests: 115 on November 09, 2023
Top Users
Hébergeur : Morinie.Fr