Problem when saving after opening another report

Stimulsoft Reports.NET discussion
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Problem when saving after opening another report

Post by Jennypi »

Hi,

I'm encountering a strange problem since a few versions of Stimumsoft.

I made a video to show you the problem.

Here is the process I follow:
- I open an existing report
- I open the designer to modify the report
- I make a first chang:, in my example I delete the barcode, which size is not OK
- I click File > Open in order to open another existing report, from which I would like to copy the good barcode from
- I copy the barcode
- I click File > open to open again my first report
- I paste the new barcode where I want
- I save and close the designer.

You can see on my video that there is no barcode in the saved report, meaning that the last saving operation didn't work.

When I used to follow that process before, there was no problem when saving. The changes were well applied to the report I wanted to modify.

Can you reproduce this issue?

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem when saving after opening another report

Post by HighAley »

Hello.

Sorry, but we can't reproduce your issue.
Please, check the expression. Is it right?
Please, open the Preview after you insert the bar-code.
Do you get it there. Because the component will not be shown if there is something wrong in the expression that you use.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Problem when saving after opening another report

Post by Jennypi »

Hello,

The video I made is just an example.
Basically, the problem is that the report is randomly not saved, after copying a component from another report. Sometimes the component I copy does not contain any expression, it might just be a dummy text component.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem when saving after opening another report

Post by HighAley »

Hello.

Sorry, we can't reproduce the issue.
Please, send us a sample with step-by-step instruction how to reproduce the issue.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Problem when saving after opening another report

Post by Jennypi »

Hi,

OK, I'll try to provide you with an example.

In the meantime, I noticed something which might help you.
When I follow those steps:
- Open a report
- Open the designer
- File menu > Open > I choose another report
- the name of the Designer screen becomes "report.mrt", not the report name.
- when I open again the previous report, it doesn't save properly
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Problem when saving after opening another report

Post by Jennypi »

Hi,

I manage now to reproduce the issue.
The problem happens when I open the other report with the File > Open menu.
I cannot reproduce it when using the "Recent documents" shortcuts.

You can download my application.
I'm joining 2 report samples to use with this application.

Then, in my application, follow those steps:
- open test1.mrt report
- open the designer
- click File > Open menu and choose test2
-> you can notice that the designer window screen is now "Report.mrt", although it should be the report's name.
- copy any text component of test2
- open again the test1 report (through File > Open or through the Recent documents shortcut)
- paste
- close the designer
-> the changes are not applied to test1

Hope you can reproduce the problem with all this!
Let me know, thanks!
Attachments
test2.mrt
(4.69 KiB) Downloaded 208 times
test1.mrt
(3.56 KiB) Downloaded 298 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem when saving after opening another report

Post by Alex K. »

Hello,

We need some additional time to investigate the issue.
Also, please send us a source code or your sample.

We will let you know about the result.
Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Problem when saving after opening another report

Post by Jennypi »

The source code of the application you mean?
I can send you the MS Visual Studio file, is it what you need?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem when saving after opening another report

Post by Alex K. »

Hello,

You sent .exe and .dll files, we need a full project for debugging.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Problem when saving after opening another report

Post by Jennypi »

OK, I sent you an email to support@stimulsoft.com with the link to the full project.
Thanks you for your help.
Post Reply