Project

General

Profile

Actions

Bug #5083

closed

possible to save a kar that loses the report layout

Added by Derik Barseghian almost 14 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Category:
reporting
Target version:
Start date:
07/07/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5083

Description

This seems like a problem with the ObjectManager.

Scenario:
User A uses Save Archive to create test.kar, it contains a workflow and report layout
User A sends test.kar to User B, who places it on his desktop (not his kepler "local repository")
User B launches Kepler, then uses Open Archive to open test.kar, and notes he can see workflow and layout
User B changes the workflow in some small way, and workflow thus gets a new LSID
User B uses Save Archive to save test2.kar
test2.kar only contains the workflow, and not the report layout

This is because the ReportLayoutKAREntryHandler (and other handlers) tries to get the workflow out of the ObjectManager using getObjectRevision( the workflow's (new) LSID), and this returns null. I'm not sure why this is yet. A simple fix seems to be adding the workflow into the OM during KARBuilder handleInitiatorList() if getObjectRevision is currently returning null. I'm first trying to determine why this seems to be necessary for this scenario, and not the same scenario above except where test.kar is "local" (created by User B)...

Actions

Also available in: Atom PDF