Bug 247271 - Enhancements for workflows
Summary: Enhancements for workflows
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Geclipse (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ashish Thandavan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 06:26 EDT by Katarzyna Bylec CLA
Modified: 2014-01-09 16:01 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katarzyna Bylec CLA 2008-09-15 06:26:53 EDT
1) When user runs Add Job Description from job's context menu a Grid File Dialog (not a regular file dialog) should be opened
2) It is now possible to create 2 jobs with the same name - is that intended behaviour?
Comment 1 David Johnson CLA 2008-09-21 16:01:49 EDT
(In reply to comment #0)
> 1) When user runs Add Job Description from job's context menu a Grid File
> Dialog (not a regular file dialog) should be opened

Not unless the Grid File dialog can support setting a filter-path folder. Using root/home/workspace-root doesn't make sense if the Workflows folder is present in the project set-up (normal behaviour I want is for it to default to Workflows folder when opening the dialog - and this is not possible with Grid File dialog as far as I know).

> 2) It is now possible to create 2 jobs with the same name - is that intended
> behaviour?
> 

Yes it is normal behaviour for now, but only until we implement a 1-1 relationship with JSDL to w.f. job. When this happens no 2 jobs will have the same name, but at the moment there is no restrictions on naming of jobs.

Really at the moment it is not a problem anyway, since in the gLite submission case, JDL does not allow duplicate job names anyway, and this is checked for when trying to submit a workflow.
Comment 2 David Johnson CLA 2008-09-23 07:06:24 EDT
(In reply to comment #1)
> > 1) When user runs Add Job Description from job's context menu a Grid File
> > Dialog (not a regular file dialog) should be opened
> 

I've spoken with Mathias about the use of Grid File Dialog, and it's only necessary if we really need to access remote files. The operation for setting a filter-path to a default folder (e.g. If I want to default to the .workflow project folder, or to the Job Descriptions folder in project) would apparently be a very expensive operation for the Grid File Dialog, as all of the path's hierarchy are retrieved.

So, the File Dialog would be better used where only local files will need to be accessed, and this is the case for importing JSDLs into workflows for now.