Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Custom action is displayed as "Unrecognized action" in rulesets history #2417

Open
guillaumerochelle opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working priority:medium

Comments

@guillaumerochelle
Copy link
Contributor

Package name

rules-engine

Package version

11.3

Reproduction steps

  • Create a custom action with the corresponding action handler
  • Add the custom action to the rules engine
  • Create a rule applying this new action
  • Check the rulesets history in Otter Chrome Extension

Current result

The action is not handled by the presenter and it is labeled with Unrecognized action
image

Expected result

  1. Unrecognized action is misleading and one could think that the action doesn't work properly.
  2. If feasible, provide a way to display custom actions properly like the "standard" actions.

Additional comments

Source: https://github.com/AmadeusITGroup/otter/blob/e48b5e9ea7e7ab4eb81fd1a632c6249d39d82b4b/packages/%40o3r/rules-engine/src/components/rules-engine/rule-actions/rule-actions-pres.template.html#L56C1-L59C15

@guillaumerochelle guillaumerochelle added bug Something isn't working triage labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:medium
Projects
None yet
Development

No branches or pull requests

2 participants