Issue on filter when update a job
Reported by Bruno Bonfils | February 21st, 2011 @ 11:59 AM | in Rundeck 1.2
When update a job, the previous filter definition is merged with the new one instead being rewrited.
To reproduce, create a simple job with the following filter:
<nodefilters excludeprecedence="true">
<include>
<hostname>asuka</hostname>
</include>
</nodefilters>
then, change the filter to:
<nodefilters excludeprecedence="true">
<include>
<name>asuka</name>
</include>
</nodefilters>
and after rd-jobs load, the job filter is name=asuka AND hostname=asuka.
Comments and changes to this ticket
-
Greg Schueler February 21st, 2011 @ 12:01 PM
- Milestone set to Rundeck 1.2
- Tag set to filters, import
- Milestone order changed from 14 to 0
-
Deleted User February 21st, 2011 @ 01:18 PM
- State changed from new to resolved
(from [b8981304f95a21d558e1e2d4f854c4fff68fbbd4]) Correctly overwrite job filters when updating jobs [#213 state:resolved] https://github.com/dtolabs/rundeck/commit/b8981304f95a21d558e1e2d4f...
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
Referenced by
- 213 Issue on filter when update a job (from [b8981304f95a21d558e1e2d4f854c4fff68fbbd4]) Correct...