Announcement Announcement Module
Collapse
No announcement yet.
"finder list" only listing "NOT" option for boolean field Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • "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
    JIRA ticket ROO-563 created...

    Comment


    • #3
      ... and resolved . Just in time to make it for the 1.0.1 release.

      Comment


      • #4
        Originally posted by Stefan Schmidt View Post
        ... and resolved . Just in time to make it for the 1.0.1 release.
        Thanks Stefan!!

        Comment

        Working...
        X