Inconsistent job/group behavior
Reported by Martin Middleton | April 11th, 2011 @ 05:49 AM | in Rundeck 1.3 (closed)
Under RunDeck 1.2, I'm trying to setup job grouping similar to this:
Deployment->[jobs]
Deployment->pre-deploy->[jobs]
Deployment->pre-deploy->internal->[jobs]
Deployment->deploy->[jobs]
Deployment->deploy->internal->[jobs]
Deployment->post-deploy->[jobs]
Deployment->post-deploy->internal->[jobs]
Operations->[jobs]
What I'm seeing in the GUI looks like this:
Deployment (folder)
-> deploy (sub-folder)
->-> internal (subfolder)
Deployment/pre-deploy (folder)
-> internal (subfolder)
Deployment/post-deploy (folder)
-> internal (subfolder)
Operations (folder)
The Deployment/deploy/internal folder structure is the only one displaying correctly. At one point, all the groups displayed correctly, however, when I re-defined one of the jobs, I started seeing the Deployment/pre-deploy and Deployment/post-deploy groupings. I've looked at the XML files for the jobs and they all appear to have the correct group structure for the specific jobs.
It looks like whatever is parsing the group to display it in the GUI is acting differently based on something I'm unaware of.
I did notice when initially creating groups that if I created JobX with a group of the form Dir1/Sub-dir1/JobX, as the first job, this is how it would show up in the GUI [folder name: Dir1/Sub-dir1] until I created JobY with a group of Dir1/JobY. At that point, the GUI would display JobX correctly as subfolder Subdir1 under folder Dir1.
Comments and changes to this ticket
-
Robert Krombholz April 13th, 2011 @ 11:55 AM
The normal behavior is that if a sub-path of a group doesn't have any Jobs in it - it will not be an expandable tree element.
Instead you will than see e.g. Deployment/post-deploy.I just raised a pull request in order to enable the tree behavior for all elements of a group (even if there are no Jobs in it).
https://github.com/dtolabs/rundeck/pull/29There were also some general discussions about the improvements + pagination for this view but as far as I know until now without any concrete suggestions.
@DTO guys: can we get this or any other change proposal for the Jobs view into the roadmap for 1.3? -
Greg Schueler April 13th, 2011 @ 03:29 PM
- Milestone set to Rundeck 1.3
- Milestone order changed from 22 to 0
@Robert
thanks for the pull! it is a simple patch so we'll try to get it in for 1.3.
-
Greg Schueler April 20th, 2011 @ 10:34 AM
@Robert see comment on pull request, the patch doesn't work exactly right for the Group selection box in the Job Edit form. I will take a look at fixing it later if you don't get a chance to update it.
-
Greg Schueler April 27th, 2011 @ 11:03 AM
- Milestone order changed from 19 to 0
there is an inconsistency in the way groups are displayed, (aside from collapsing of names).
@robert, i can push a fix for the inconsistency. i verified that partial merge of your real-tree fix works with it
-
Deleted User April 27th, 2011 @ 04:07 PM
(from [567a3e3fe567a7f40e2243be433225efe58a206b]) Fix incorrect tree structure [#254] https://github.com/dtolabs/rundeck/commit/567a3e3fe567a7f40e2243be4...
-
Greg Schueler April 29th, 2011 @ 10:24 AM
- State changed from new to needs_verification
-
Greg Schueler June 3rd, 2011 @ 04:19 PM
- Assigned user set to Greg Schueler
- Milestone order changed from 11 to 0
-
Alex-SF June 8th, 2011 @ 11:23 AM
- Tag set to gui
-
Alex-SF June 8th, 2011 @ 11:23 AM
- Tag changed from gui to feature request, gui, usability
-
Greg Schueler June 9th, 2011 @ 11:59 AM
note: "real-tree view" issue is #162
this issue is about inconsistent way that old job group view worked.
-
Alex-SF July 14th, 2011 @ 12:34 PM
- State changed from needs_verification to resolved
- Milestone order changed from 12 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Tags
Referenced by
- 254 Inconsistent job/group behavior (from [567a3e3fe567a7f40e2243be433225efe58a206b]) Fix inc...
- 162 Frontend. Jobs don't group? ref pull request for issue #254