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
Hook selector for record cloning selects only one hook
Steps to reproduce the error
Implement a hook for the invoice entity that performs some action in the postCopy method (e.g., changing a value in a field of an invoice).
Implement a second hook for the invoice entity that also performs an action in the postCopy method.
Assign different priorities to the hooks. Ensure one hook has a higher priority (lower number) than the other.
Perform a cloning operation on an invoice entity.
Notice that only the hook with the highest priority (lowest number) is executed, while the other hook(s) are not executed.
Expected behavior
It should execute all the hooks for entity in sequence based on their priority order.
Affected Version
¿ Latest/Specific ?
Version number: 24.2.1
Solution Design (optional)
Other test cases
Given:
When:
Then:
The text was updated successfully, but these errors were encountered:
valeg-etendo
changed the title
EPL-1706: Hook selector for record cloning selects only one hook
ETP-52: Hook selector for record cloning selects only one hook
Jul 30, 2024
Error's description
Hook selector for record cloning selects only one hook
Steps to reproduce the error
Expected behavior
It should execute all the hooks for entity in sequence based on their priority order.
Affected Version
¿ Latest/Specific ?
Version number: 24.2.1
Solution Design (optional)
Other test cases
Given:
When:
Then:
The text was updated successfully, but these errors were encountered: