You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a ruleset with only one rule driven by a linked component (a page).
The success element is a change of localization key. This key should be used in a component which is visible when navigating through the app (the header component is a good option).
Navigate to the page where the ruleset becomes active -> the localization key is changed
Leave that page -> the localization key is still changed
Current result
The localization key updated by the rules engine is not reset when the ruleset becomes inactive, the localizationOverride store is containing the loc keys change.
Expected result
The localization key should be reset when the ruleset becomes inactive
Additional comments
No response
The text was updated successfully, but these errors were encountered:
## Proposed change
Emit an empty array of actions to execute when no ruleset remains active
during the executions of rules engine.
Nowadays there is no emission so the already applied actions are not
reset.
## Related issues
<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->
*- No issue associated -*
* 🐛 Fix#2609
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * Pull Request #issue -->
Package name
rules-engine
Package version
10.4.*
Reproduction steps
Have a ruleset with only one rule driven by a linked component (a page).
The success element is a change of localization key. This key should be used in a component which is visible when navigating through the app (the header component is a good option).
Navigate to the page where the ruleset becomes active -> the localization key is changed
Leave that page -> the localization key is still changed
Current result
The localization key updated by the rules engine is not reset when the ruleset becomes inactive, the localizationOverride store is containing the loc keys change.
Expected result
The localization key should be reset when the ruleset becomes inactive
Additional comments
No response
The text was updated successfully, but these errors were encountered: