myGrid

Reload/Rerun from LogBook browser fails

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5
  • Fix Version/s: 1.5
  • Component/s: Provenance Browser
  • Labels:
    None

Description

When one tries to reload or rerun workflow from the logbook browser a window pops up with the message:

There was an error whilst loading the processors

and nothing else happens.

Issue Links

Activity

Hide
Daniele Turi added a comment - 2006-11-13 16:46

The message is sent by {{uk.ac.man.cs.img.mygrid.knowledge.browser.EnactorInvocationBrowserModel.reloadProcesses(ProcessRun[], boolean){{

Show
Daniele Turi added a comment - 2006-11-13 16:46 The message is sent by {{uk.ac.man.cs.img.mygrid.knowledge.browser.EnactorInvocationBrowserModel.reloadProcesses(ProcessRun[], boolean){{
Hide
Daniele Turi added a comment - 2006-11-13 16:54

The error is caused by attachedModel being null.
Note that the model used to be attached before the browser was built but now we build it in the constructor.

Show
Daniele Turi added a comment - 2006-11-13 16:54 The error is caused by attachedModel being null. Note that the model used to be attached before the browser was built but now we build it in the constructor.
Hide
Daniele Turi added a comment - 2006-11-13 17:39

Stian suggests refactoring
uk.ac.man.cs.img.mygrid.knowledge.browser.EnactorInvocationBrowserModel.rerunWorkflow(WorkflowRun)
using
ModelMap.getInstance().setModel(ModelMap.INVOKE_WORKFLOW, model);
instead of using the attached model.

This would also help with TAV-40.

Show
Daniele Turi added a comment - 2006-11-13 17:39 Stian suggests refactoring uk.ac.man.cs.img.mygrid.knowledge.browser.EnactorInvocationBrowserModel.rerunWorkflow(WorkflowRun) using ModelMap.getInstance().setModel(ModelMap.INVOKE_WORKFLOW, model); instead of using the attached model. This would also help with TAV-40.
Hide
Daniele Turi added a comment - 2006-11-17 14:51

Closing TAV-259 fixes the rerun.
Reloading still open.

Show
Daniele Turi added a comment - 2006-11-17 14:51 Closing TAV-259 fixes the rerun. Reloading still open.
Hide
Daniele Turi added a comment - 2006-11-17 16:37

We do not want to reload a workflow in the current workflow. Instead we want to add a new workflow and for this we need a workflow manager as described in TAV-263.

Show
Daniele Turi added a comment - 2006-11-17 16:37 We do not want to reload a workflow in the current workflow. Instead we want to add a new workflow and for this we need a workflow manager as described in TAV-263.
Hide
Daniele Turi added a comment - 2006-11-20 13:01

Solved by using Workbench.getWorkflowModels() of TAV-263.

Show
Daniele Turi added a comment - 2006-11-20 13:01 Solved by using Workbench.getWorkflowModels() of TAV-263.

People

Vote (0)
Watch (0)

Dates

  • Created:
    2006-11-13 15:47
    Updated:
    2006-11-20 13:01
    Resolved:
    2006-11-20 13:01