Merge Items To New User Code Item destroys code

Bug reports.
Samuel
Posts: 14
Joined: Tue Nov 12, 2013 10:50 am
Location: Germany (BW)

Merge Items To New User Code Item destroys code

Post by Samuel » Tue Dec 03, 2013 4:50 pm

I have a problem when trying to merge items to a new user code module.
Nothing gets added to the UserCode.cs, and the test cases that should be merged get partially deleted inside the auto generated .cs file leading to a code that is unable to compile.

In order to show how the code exactly looks like before and after the merging, which steps I performed.. I added a problem report with screenshots as mht file which can be opened in the browser.

Kind regards
Samuel

-EDIT-
If the attachment is not accessible, it can also be found here: https://www.dropbox.com/s/yoe2kc74nuaid ... 3_1636.mht

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Merge Items To New User Code Item destroys code

Post by Support Team » Wed Dec 04, 2013 4:06 pm

Hello Samuel,

Thank you for reporting this issue.
I will add it to our internal bug-tracking system in order to provide a fix as soon as possible.

As a workaround, please delete your comments before you merge your actions into User Code or edit the comment of the merged user code item (in the Recorder action grid).
Thank you.

Regards,
Markus (T)
Last edited by Support Team on Thu Dec 05, 2013 9:22 am, edited 1 time in total.
Reason: Added second workaround option
.
Image

Samuel
Posts: 14
Joined: Tue Nov 12, 2013 10:50 am
Location: Germany (BW)

Re: Merge Items To New User Code Item destroys code

Post by Samuel » Thu Dec 05, 2013 9:14 am

After deleting the comments everything indeed works again as expected.
Thank you verry much for providing a solution!