Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3, 5.4
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.