Community
Participate
Working Groups
Build Identifier: 20100617-1415 in OrderedServiceHooksExecuter, update() method, where the code is: Orderer<IServiceHook> orderer = new Orderer<IServiceHook>(); for (IServiceHookExtension extension : serviceHookExtensions) { orderer.add(extension.getServiceHook(), extension.getName(), extension.getPostHooks(), extension .getPostHooks()); } The getPostHooks() method is called twice but getPreHooks() is never called. Not sure if there is any unit tests around this service ordering... Reproducible: Always
Hello Patrick, here we have to deal with even 2 bugs. 1)What you describe: The construction of the Ordered-Object is not done right as the list of postHooks is used 2 times. preHooks just get igonred. 2)I had a look at the implementation of afterCall. The delegation was wrong,too. I fixed it to delegate to sHook.afterCall(context); Furthermore I added a the test OrderedCallHooksExecutorTest. Have a look at it if you like.