Results 1 to 4 of 4

Thread: "finder list" only listing "NOT" option for boolean field

  1. #1
    Join Date
    Jan 2010
    Location
    Lanus, Argentina
    Posts
    28

    Default "finder list" only listing "NOT" option for boolean field

    Hi guys!
    I've got an entity that has a boolean field.
    When I type the command "finder list" in Roo Shell, it only lists the corresponding finder with the NOT modifier. For example:

    Let's suppose an entity named "Foo" with a boolean field named "enabled", if I type the command "finder list", Roo will show:
    .....
    findFoosByEnabledNot(Boolean enabled)
    ...

    And not the option
    ...
    findFoosByEnabled(Boolean enabled)
    ...

    Nevertheless Roo only doesn't list it, because if I type:
    ...
    finder add --finderName findFoosByEnabled

    Roo effectively generates the corresponding code.

    What I'm pointing in this post is that this situation is a bit confusing and sometimes funny, in my case i used the findFoosByEnabledNot option and of course it was listing the opposite option I was looking for!!!!

    I'm submitting the corresponding JIRA later

  2. #2
    Join Date
    Jan 2010
    Location
    Lanus, Argentina
    Posts
    28

    Default

    JIRA ticket ROO-563 created...

  3. #3
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    ... and resolved . Just in time to make it for the 1.0.1 release.
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  4. #4
    Join Date
    Jan 2010
    Location
    Lanus, Argentina
    Posts
    28

    Default

    Quote Originally Posted by Stefan Schmidt View Post
    ... and resolved . Just in time to make it for the 1.0.1 release.
    Thanks Stefan!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •