MantisBT - TestLink
View Issue Details
0004214TestLinkExport/Importpublic2011-02-02 13:172015-09-19 08:49
1.9.1 (bug fixing) 
1.9.14 (2015 Q3) 
0004214: Already executed test cases versions can be edited by importing an XML test case file
When a test case is executed, the current version is locked for edition, but if an XML test case file is imported with modifications for this test case, the modifications are applied to the executed version, and they can be seen in the "Test Execution" area.
 1. There is a suite with at least 1 test case available.
 2. This test case is part of a test plan and it has already been executed.

 1. Export the test cases from this suite to an XML file: "Test Case Operations / Export"
 2. Edit the XML file and change the test case name: <testcase name="change_here">
 3. Select the option to import test cases to the same suite: "Test Case Operations / Import".
 4. Choose the previously edited file and select "Has same External ID" and "Update data on latest version" options.
 5. Select "Upload file" option.

 *** Now you can see the problem:
  - Expected: (a) An error is displayed informing the user that the current test case version could not be edited since it was already executed.
  - Found: The previously executed test case is edited.
No tags attached.
related to 0004213closed fman Duplicate test cases are created when importing new versions with edited TC Name (xml format) 
related to 0007177closed fman LATEST GITHUB CODE - Already executed test case can't be edit by import a modified xml-file 
Issue History
2011-02-02 13:17taraujoNew Issue
2011-02-02 13:17taraujoNote Added: 0013491
2011-03-17 18:52fmanRelationship addedrelated to 0004213
2011-05-28 17:36fmanAssigned To => fman
2011-05-28 17:36fmanStatusnew => assigned
2015-04-03 21:33Mr.BricodageNote Added: 0023034
2015-04-04 17:35fmanQA Team - Task Workflow Status => READY FOR TESTING
2015-04-04 17:35fmanStatusassigned => resolved
2015-04-04 17:35fmanFixed in Version => 1.9.14 (2015 Q3)
2015-04-04 17:35fmanResolutionopen => fixed
2015-06-25 15:41fmanRelationship addedrelated to 0007177
2015-09-19 08:49fmanNote Added: 0023914
2015-09-19 08:49fmanStatusresolved => closed

2011-02-02 13:17   
This issue is related to 4213
2015-04-03 21:33   
issue still exists with TestLink 1.9.13.

TestCase already executed is modified using XML import using "Update data on Latest version" option.

13 sections "DB Acces Error - debug_print_backtrace()" are displayed on consultation of the testcase content (after import).
2015-09-19 08:49   
1.9.14 Padawan - released - 2015-09-19