Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1979

Changing the implementation of a method after adding method advice does not work; the original implementation remains

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      This is too easy to do when you have a chain of PlasticClassTransformers operating on the same classes.

      Alternately, the advised method, not the main method (that instantiates the Invocation object)n should be the one that is rewritten.

      The issue here is that Plastic takes a snapshot of the method implementation when the first advice is added, and that snapshot is not updated if the advised method implementation is later changed.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment