Save As Bug?

Stimulsoft Reports.JAVA discussion
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Save As Bug?

Post by rafaelwithoeft »

I'm using a base report as template to make another, when I use "Save As" and change filename, the XML parameter "ReportFile" is not changed.
So when I open this new file and make some changes, the original file is modified.

EDIT--
Image

Best Regards.
Vadim
Posts: 409
Joined: Tue Apr 23, 2013 11:23 am

Re: Save As Bug?

Post by Vadim »

Hello.
Which designer do you use: (HTML)WebDesigner, FlexDesigner, SWTDesigner ?
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Re: Save As Bug?

Post by rafaelwithoeft »

Hello, i have used this installer (DesignerFx_AIR_Java.air), i believe is it a flex designer.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save As Bug?

Post by Vladimir »

Hello,

When you open MRT file, ReportFile property will automatically be overwritten with the correct value. So you can, for example, copy a file to another location and it will be correctly saved when opened. Also when the file is saved, the save path for the internal report object will be correct, the original file will not be overwritten.

We recommend you to use latest 2015.1 version.

Thank you.
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Re: Save As Bug?

Post by rafaelwithoeft »

I using the latest version and what you say, not worked. New file generated by Save As, is always overwriting my original file.

Thank you
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save As Bug?

Post by Vladimir »

Hello,

We could not reproduce this error on 2015.1 build (AIR designer for Java). We have two test scenarios:

- Copy some Report1.mrt to c:\
- Open this report
- Make some changes
- Save As Report2.mrt to c:\
- Make some changes
- Press Save
In this case, Reprot2.mrt has been updated, Report1.mrt was original.


- Create a new report in AIR designer
- Save this report as Report1.mrt to c:\
- Make some changes
- Save As Report2.mrt to c:\
- Make some changes
- Press Save
In this case, Reprot2.mrt has been updated, Report1.mrt was original.


Please tell us the scenario, in which case the original report will be overwritten.

Thank you.
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Re: Save As Bug?

Post by rafaelwithoeft »

I have used another scenario, similar to the two examples. Tomorrow we do not work. Next week i make a video sample to provide more information.

Thank you.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Save As Bug?

Post by Andrew »

Hello,

Ok. Waiting for your video.

Have a nice weekend!
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Re: Save As Bug?

Post by rafaelwithoeft »

Used scenario:

- Open Report1.mrt
- Save As to Report2.mrt
- Close Designer
- Two clicks on Report2.mrt (open automatically by designer)
- Change components (delete, insert, ...)
- Click Save Report
- Close Designer
- Now, open the Report1.mrt

The changes on Report2.mrt altered the Original Report.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save As Bug?

Post by Vladimir »

Hello,

The problem has been solved, the update will be available in the next prerelease build at the end of the week.
Thank you for the detailed bug report.
Post Reply