Category: | Feature request |
Priority: | Low |
Status: | Assigned |
Project: | Severity: | Trivial |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Issue moved from:
https://sourceforge.net/tracker/index.php?func=detail&aid=1244366&group_...
Consult the original issue for any attachments.
[ 1244366 ] setIsDocDirty should be setted at all changing actions
Submitted By: C-Box - c-box
Date Submitted: 2005-07-25 03:28
Last Updated By: c-box - Settings changed
Date Last Updated: 2005-07-25 03:29
Number of Comments: 0
Number of Attachments: 0
Group: Next Release
Assigned To: Giulio Toffoli
Priority: 5
Summary:
setIsDocDirty should be setted at all changing actions
Hi Giulio,
I do have a problem when storing back my ReportSets from IReport (current CVS version of 0.5.1) to Database via my Plugin.
As I want to avoid unnecessary traffic I do now check if a report has changed in a way where I do compare the file date-time when a single report was loaded from db
and when saving with the "lastmodified" method of that file.... this works well. But just then, when the user saved the report... if he forgets to save in IReport the "LastModified" is equal to "Loaded" ... so I don't allow the storing in DataBase (as I assume that nothing was changed).....
I do have all JReportFrames for all the reports that were loaded... and there is a method "isIsDocDirty" where I guess that this method should return true if
something has changed... unfortunately this attribute is not setted at each action that can change the design (for example if I do place a new TextFields the
docDirty is still false).
Could you please add the setter method to each action that could change the design?
thx in advance
C-Box
No follow-up comments have been posted.
No Files Currently Attached