Bug #4896
closed
When exporting multiple runs only 1 ROML is placed in KAR
Added by Derik Barseghian almost 15 years ago.
Updated over 14 years ago.
Description
If you export multiples runs that have different report designs and instances from the Workflow Run Manager, you only get one ROML in the KAR.
I'm also seeing errors like the below, but I'm not sure if they're related:
ERROR (org.kepler.objectmanager.library.LibraryManager:assureTreeItem:308) Error while adding Tree Item
It looks like this is occurring because ReportLayout lsids don't change when they're modified, so when the KAR is built the second roml isn't added to the KAR because of the lsid collision. I think the proper solution here is to update the revision of a report layout any time it's modified. I see there are ReportChangeObserver and ReportChangeObservable classes, but they're not being used.
(In reply to comment #1)
It looks like this is occurring because ReportLayout lsids don't change when
they're modified, so when the KAR is built the second roml isn't added to the
KAR because of the lsid collision. I think the proper solution here is to
update the revision of a report layout any time it's modified. I see there are
ReportChangeObserver and ReportChangeObservable classes, but they're not being
used.
If we did this, then would that eliminate the need for the solution described in Bug 4923 ?
No, doing this (which I think we should), won't solve the issue in bug #4923.
reassign to debi. She has listeners that can be used to updateRevision on the lsid
It seems like this may also cause problems when there are two different ROMLs in different KARs in your local repository, but each ROML has the same lsid. I imagine there are problems with the core DB, object manager, etc being able to distinguish between the two during various functions.
Have LSID revision number incrementing now. However, if the user opens a saved archive, and then opens a different saved archive, then all windows are updated to show only the archive that was opened last.
Report Layout lsid's are now changed whenever a report layout is modified.
Don't forget changing textfields, title, images, or Properties - when I make changes to these things the ROML LSID doesn't change.
I was getting to that, should have left the bug open though until it was done.
Now is complete. lsid's changing after any and all changes in the report including layout changes, changed to the textfields, text areas, title, images, and Properties. Bug should be officially closed now.
Original Bugzilla ID was 4896
Also available in: Atom
PDF