Anonymous | Login | Signup for a new account | 2019-02-16 14:18 UTC | ![]() |
Main | My View | View Issues | Change Log | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0008121 | TestLink | Export/Import | public | 2017-10-29 23:50 | 2018-04-14 09:04 | ||||
Reporter | Mr.Bricodage | ||||||||
Assigned To | fman | ||||||||
Priority | normal | Severity | feature request | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.9.16 (2016 Q4) | ||||||||
Fixed in Version | 1.9.17 (2018 Q1) | ||||||||
Summary | 0008121: Handle attachments in Req - Req Specs - TestSuites - TestCases XML export / import | ||||||||
Description | Attachments are not present in XML Export / Import for Req and TestCases elements. It is needed to export dataset from one testlink instance to import it in other instance. | ||||||||
Steps To Reproduce | N/A | ||||||||
Additional Information | PR to follow. XML format for attachments : <attachments> <attachment> <id><![CDATA[(int)attachment_id]]></id> <name><![CDATA[(string)attachment_name]]></name> <file_type><![CDATA[(string)attachment_file_type]]></file_type> <title><![CDATA[(string)attachment_title]]></title> <date_added><![CDATA[(string)attachement_date_added]]></date_added> <content><![CDATA[((string)BASE64(attachement_content)]]></content> </attachment> <attachment> <id><![CDATA[(int)attachment_id]]></id> <name><![CDATA[(string)attachment_name]]></name> <file_type><![CDATA[(string)attachment_file_type]]></file_type> <title><![CDATA[(string)attachment_title]]></title> <date_added><![CDATA[(string)attachement_date_added]]></date_added> <content><![CDATA[((string)BASE64(attachement_content)]]></content> </attachment> </attachments> User can choose if attachments have to be exported (disabled by default to reduce XML file size). To avoid adding the same attachment each time a XML is uploaded (if Req/TC update through XML with attachments data present), a filter is applied when importing attachments : import each attachment only if it is not already linked to the element in database (compare attachment ID + target Req/TC ID couple). | ||||||||
Tags | No tags attached. | ||||||||
Database (MySQL,Postgres,etc) | Any | ||||||||
Browser | |||||||||
PHP Version | |||||||||
TestCaseID | |||||||||
QA Team - Task Workflow Status | READY FOR TESTING | ||||||||
Attached Files | |||||||||
![]() |
||||||
|
![]() |
|
(0026972) Mr.Bricodage (updater) 2017-10-29 23:55 |
PR : https://github.com/TestLinkOpenSourceTRMS/testlink-code/pull/123 [^] |
(0026975) fman (administrator) 2017-10-30 21:16 |
thanks a lot |
(0027309) fman (administrator) 2018-04-14 09:04 |
release 1.9.17 |
![]() |
|||
Date Modified | Username | Field | Change |
2017-10-29 23:50 | Mr.Bricodage | New Issue | |
2017-10-29 23:55 | Mr.Bricodage | Note Added: 0026972 | |
2017-10-30 21:16 | fman | Note Added: 0026975 | |
2017-10-30 21:19 | fman | QA Team - Task Workflow Status | => TBD |
2017-10-30 21:21 | fman | QA Team - Task Workflow Status | TBD => READY FOR TESTING |
2017-10-30 21:21 | fman | Status | new => resolved |
2017-10-30 21:21 | fman | Fixed in Version | => 1.9.17 (2018 Q1) |
2017-10-30 21:21 | fman | Resolution | open => fixed |
2017-10-30 21:21 | fman | Assigned To | => fman |
2017-10-30 21:21 | fman | Relationship added | child of 0007817 |
2018-04-14 09:04 | fman | Note Added: 0027309 | |
2018-04-14 09:04 | fman | Status | resolved => closed |
Copyright © 2000 - 2019 MantisBT Team |