Skip to content

setOnreturn doesn't take effect in async generic invocation #208

@rhion

Description

@rhion

原例子

Object xx =  s.$invoke("Test", t, p);

发现bug在FutureFilter.fireInvokeCallback

final Method onInvokeMethod = (Method)StaticContext.getSystemContext().get(StaticContext.getKey(invoker.getUrl(), invocation.getMethodName(), Constants.ON_INVOKE_METHOD_KEY));

就是这个invocation.getMethodName() 这个值是$invoke 而不是Test
而StaticContext.getSystemContext()的key是用Test方法明作为key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions