Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

resource tags with spaces are parsed incorrectly

#445

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 ?

Reported by Tristan Rivoallan · September 21st, 2011 @ 06:17 AM

State: resolved
Milestone: Rundeck 1.4
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler

    i don't see this problem in rundeck 1.3.2, have you tried the latest release version?

    October 18th, 2011 @ 04:41 PM

  2. Greg Schueler
    Greg Schueler

    Can you attach (sanitized if necessary) copies of your resources.xml with which you are experiencing this issue? thanks

    October 19th, 2011 @ 08:28 AM

  3. Greg Schueler
    Greg Schueler

    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

    October 19th, 2011 @ 09:15 AM

  4. Greg Schueler
    Greg Schueler
    • Title changed from Filtering on multiple tags does not work as expected to resource tags with spaces are parsed incorrectly

    October 19th, 2011 @ 09:16 AM

  5. Greg Schueler
    Greg Schueler
    • Tag set to bug, parser, resources
    • Milestone set to Rundeck 1.4
    • Milestone order changed from 102 to 0

    October 19th, 2011 @ 10:17 AM

  6. Greg Schueler
  7. Greg Schueler
  8. Greg Schueler
    Greg Schueler
    • Assigned user set to Greg Schueler
    • State changed from needs_verification to resolved

    October 25th, 2011 @ 11:05 AM

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.