View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022284 | mantisbt | custom fields | public | 2017-01-30 06:32 | 2017-02-12 05:43 |
Reporter | hllugany | Assigned To | atrol | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Mantis 2.0 | OS | Windows 10 | ||
Product Version | 2.0.0 | ||||
Summary | 0022284: Cannot import custom field from xml file | ||||
Description | One of my custom fields is "GC Subject" as shown in the middle of the file and Importing is successfull for all fields but not successfull for my custom field as the text is not going into its database location and does not show on the screen. | ||||
Steps To Reproduce | import issues | ||||
Tags | No tags attached. | ||||
Attached Files | 001_Lucknow.xml (2,753 bytes)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <mantis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <issue> <id>1234test</id> <project id="1">Lucknow Metro</project> <reporter id="4">hllugany</reporter> <severity id="60">D_before_Trial</severity> <reproducibility id="70">have not tried</reproducibility> <status id="20">Draft</status> <resolution id="10">open</resolution> <category id="1">Document</category> <version>2.0</version> <view_state id="50"/> <summary>Testing excel export to Mantis - Test 1</summary> <description>Driver's cab main lighting does not work</description> <steps_to_reproduce>will be populated later</steps_to_reproduce> <additional_information>Will be available soon</additional_information> <custom_GC Subject>Train Specification</custom_GC Subject> <CF_issuer id="1" name="issuer" date="N">Henri Llugany</CF_issuer> <CF_creation_date id="2" name="creation_date" date="Y">21/1/2014</CF_creation_date> <CF_sub-system_id id="26" name="sub-system_id" date="N">Test SS</CF_sub-system_id> <CF_discovered_in id="3" name="discovered_in" date="N">Tram-08</CF_discovered_in> <CF_test_zone id="20" name="test_zone" date="N">TZD</CF_test_zone> <CF_location id="4" name="location" date="N">S11</CF_location> <CF_detailed_location id="27" name="detailed_location" date="N">LS1</CF_detailed_location> <CF_system_in_charge id="5" name="system_in_charge" date="N">RST</CF_system_in_charge> <CF_environmental_conditions id="22" name="environmental_conditions" date="N">Dry and Sunny</CF_environmental_conditions> <CF_procedure_reference id="6" name="procedure_reference" date="N" xsi:nil="true"/> <CF_procedure_title id="7" name="procedure_title" date="N" xsi:nil="true"/> <CF_design_change id="8" name="design_change" date="N">No</CF_design_change> <CF_ecr_nb id="9" name="ecr_nb" date="N" xsi:nil="true"/> <CF_date_start_of_intervention id="23" name="date_start_of_intervention" date="Y">ASAP</CF_date_start_of_intervention> <CF_date_end_of_intervention id="24" name="date_end_of_intervention" date="Y">ASAP</CF_date_end_of_intervention> <CF_faulty_subsystem_component id="25" name="faulty_subsystem_component" date="N">don’t know</CF_faulty_subsystem_component> <CF_assigned_date id="13" name="assigned_date" date="Y" xsi:nil="true"/> <CF_correction_date id="14" name="correction_date" date="Y" xsi:nil="true"/> <CF_validation_date id="15" name="validation_date" date="Y" xsi:nil="true"/> <CF_closure_date id="16" name="closure_date" date="Y" xsi:nil="true"/> <CF_rams_objectives_impacted id="21" name="RAMS_objectives_impacted" date="N">ERT</CF_rams_objectives_impacted> </issue> </mantis> | ||||
I assume this is when using the XML import/export plugin ? I don't have time to test at the moment, but I would guess this is due to using a space in the custom field's name; could you try with |
|
just tried, it works Resolving as "no chang required" as the attached XML file has not been generated by MantisBT. |
|
Hi Atrol I does not work. I tried
This error is more or less the same all the time. Sorry but I dont know what else to explain to get this issue resolved Cannot attach any file when re-opening an issue -> improvement on next Mantis issue ? |
|
Still the same
Have a look at the attached file for an example of an XML file which has been generated by MantisBT. MantisXML-Export.xml (1,426 bytes)
<?xml version="1.0" encoding="UTF-8"?> <mantis version="2.1.0-dev" urlbase="http://www.mymantis.com/master/" issuelink="#" notelink="~" format="1"> <issue> <id>303</id> <project id="6">A</project> <reporter id="1">My Real Name</reporter> <priority id="30">normal</priority> <severity id="50">minor</severity> <reproducibility id="70">have not tried</reproducibility> <status id="10">new</status> <resolution id="10">open</resolution> <projection id="10">none</projection> <category id="3">A</category> <date_submitted>1485778658</date_submitted> <last_updated>1485778674</last_updated> <eta id="10">none</eta> <view_state id="10">public</view_state> <summary>s</summary> <due_date>1</due_date> <description>d</description> <custom_fields> <custom_field> <id>9</id> <name>CFTEXTAREA</name> <type>10</type> <value></value> <access_level_r>10</access_level_r> </custom_field> <custom_field> <id>12</id> <name>with space</name> <type>0</type> <value>value with space</value> <access_level_r>0</access_level_r> </custom_field> </custom_fields> </issue> </mantis> |
|