Project

General

Profile

Actions

Bug #4525

closed

saved KAR and memory report can be out of sync

Added by Oliver Soong about 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
reporting
Target version:
Start date:
11/03/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4525

Description

Create a simple report sand save it. Now change it, close the report and re-open the KAR (I've been right-clicking in the components tree). You should see the changed report. Now restart Kepler and re-open the KAR. You should see the original report.


Related issues

Blocks Kepler - Bug #4524: no prompt to save a changed reportResolvedDerik Barseghian11/03/2009

Actions
Actions #1

Updated by Oliver Soong about 15 years ago

And I'm not touching the Refresh (using current layout) button, so that should have nothing to do with it.

Actions #2

Updated by ben leinfelder about 15 years ago

sounds like we need to "clear out the memory" when we close the window for this workflow/layout.
this should probably be done in concert with the "prompting to save when changed layout is closed" bug #4524

Actions #3

Updated by ben leinfelder about 15 years ago

Upon further investigation, it seems that the ReportLayout (object) is being modified as it resides in the cache. So when you look up the layout using the LSID you get the latest version as it exists in memory. It seems that reopening the KAR does not purge the cache of that modified ReportLayout in preference for the original ReportLayout as given in the KAR.
It appears that the cache() method in the KAREntry handler interface is not being called for the report layouts (since I presume the KAR has already been cached on previous start ups of Kepler).

Actions #4

Updated by ben leinfelder about 15 years ago

we are now getting rid of the report layout when the frame is closed - only the version that is in the kar will be used.

Actions #5

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4525

Actions

Also available in: Atom PDF