Results 1 to 5 of 5

Thread: Setting findAllMethod="" removes POST methods in Controller

  1. #1

    Default Setting findAllMethod="" removes POST methods in Controller

    Hi folks,

    I was playing around with setting various methods in a Entity so that they would not be used, e.g.

    Code:
    @RooEntity(finders = { "findSubscribersByMsisdnEquals"}, countMethod="")
    will remove the count method from the _Entity.aj as well as from the associated controller code.

    But when I set findAllMethod="" I found that the POST methods in the controller were removed. Can anyone explain why this is the case?

    /Mark

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

    Default

    That is a good question. I am not sure why this is the case, you may want to open a new Jira ticket for this. The disabling of the create methods in the controllers was introduced as a result of https://jira.springsource.org/browse/ROO-589 but I am not sure that the findAll use case applies for these cases.

    -Stefan
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  3. #3

    Default

    Thanks for the feedback Stefan. I've raised https://jira.springsource.org/browse/ROO-1787 for this issue.

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

    Default

    Hi Mark, I just committed a fix against your ticket. Please give it a try.
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  5. #5

    Default

    Amazing turn-around Stefan. I'll try this out, but it may not be before the start of next week,.

    /Mark

Posting Permissions

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