Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1788

problem when changing method signature of pushed-in method

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.5.RELEASE
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      I have some pushed-in "list" and"show" methods, to which I add "Authentication auth" to the method signature. The problem is that Roo re-generates my pushed-in methods since my method has a different signature than the original list or show method. This creates a conflict in the controller mappings (essentially it creates a duplicate method mapped to /events GET).

      See discussion.

      Stefan proposed adding list and show options in @RooWebScaffold (which already provides ability to turn off create, update, delete). Not sure this is ideal as it would turn off Roo management of jsps.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              mikej Mike J
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: