[kepler-dev] [Bug 5083] New: possible to save a kar that loses the report layout

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Jul 7 18:36:31 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5083

           Summary: possible to save a kar that loses the report layout
           Product: Kepler
           Version: 2.0.0
          Platform: Other
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: P2
         Component: reporting
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


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)...

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list