resource tags with spaces are parsed incorrectly
Reported by Tristan Rivoallan | September 21st, 2011 @ 06:17 AM | in Rundeck 1.4 (closed)
Using rundeck-1.3.0-2
I have several nodes all with the tag "aramisauto.com" : https://picasaweb.google.com/lh/photo/Zq85l-hsXVKAh1LUeJ1v4kdHnGrFC...
I would like to create a filter for those nodes also having the "production" tag.
So i fill the "Tags" field with the value "aramisauto.com+production", but this does not select any node : https://picasaweb.google.com/lh/photo/Xl_dh8ChDz_eYBUCaWogeUdHnGrFC...
Am i doing something wrong ?
Comments and changes to this ticket
-
Greg Schueler October 18th, 2011 @ 04:41 PM
i don't see this problem in rundeck 1.3.2, have you tried the latest release version?
-
Tristan Rivoallan October 19th, 2011 @ 01:23 AM
Hi, i just upgraded to 1.3.2 and still experience the issue.
-
Greg Schueler October 19th, 2011 @ 08:28 AM
Can you attach (sanitized if necessary) copies of your resources.xml with which you are experiencing this issue? thanks
-
Greg Schueler October 19th, 2011 @ 09:15 AM
I see the problem.
the tags="" definitions in your resources.xml contain spaces after the commas: "aramisauto.com, production". so rundeck is not removing those spaces when it parses the content.
you can work around this by removing the spaces: "aramisauto.com,production"
I will update the bug to indicate that parsing spaces is the problem
-
Greg Schueler October 19th, 2011 @ 09:16 AM
- Title changed from Filtering on multiple tags does not work as expected to resource tags with spaces are parsed incorrectly
-
Tristan Rivoallan October 19th, 2011 @ 09:25 AM
Removing the spaces fixed the bug. Thanks for your time !
-
Greg Schueler October 19th, 2011 @ 10:17 AM
- Tag set to bug, parser, resources
- Milestone set to Rundeck 1.4
- Milestone order changed from 102 to 0
-
Greg Schueler October 19th, 2011 @ 11:05 AM
- State changed from new to needs_verification
(from [5b0866ac132f1da23db93ea295e8f86f39ed811f]) Trim tags parsed from tags attribute
[#445 state:needs_verification] https://github.com/dtolabs/rundeck/commit/5b0866ac132f1da23db93ea29...
-
Greg Schueler October 25th, 2011 @ 11:04 AM
(from [9954fbe3e62200cd3c40b7d1052bb4193f31c803]) Trim tags for yaml node definitions [#445] https://github.com/dtolabs/rundeck/commit/9954fbe3e62200cd3c40b7d10...
-
Greg Schueler October 25th, 2011 @ 11:05 AM
- Assigned user set to Greg Schueler
- State changed from needs_verification to resolved
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