Skip to content

[BUG] The custom handler information of the custom plugin still take effect when modified #4388

@LiKaiping415

Description

@LiKaiping415

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I customized a plugin called ACL
image
and then I customized a hander in the selector called "AppCode" like that:
image
after that, I customized a hander in the rule called "权限码" like that:
image
When I modified the “权限码”, the old “权限码” still takes effect.

I probably looked up the source code and found that my previous handlers were still in the cache, and I thought the old handlers should disappear:
image
Actually in the page, I only have one rule, and the other is an old record

Expected Behavior

When I change the value of a field in the handler, it should take effect immediately, and there should be no old records in the cache

Steps To Reproduce

  1. custom a plugin
  2. custom a handler field in selector
  3. custom a handler field in rule
  4. modify the handler field in rule

Environment

ShenYu version(s):2.5.1

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions