-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2023.0
-
Component/s: Automation
-
Tags:
-
Backlog priority:800
-
Team:PLATFORM
-
Sprint:nxplatform #119
-
Story Points:3
The operation RunOperationOnProvider allows to run an Automation operation against the results (current page) of a page provider.
The bug lies into the fact that the operation (or a listener) can change a metadata tested by the page provider, and therefore the results count will change.
However the initial results count is compared with the current results count to decide if we continue with the next page. If this equality is not satisfied, then the code ends with an infinite loop
Expected behavior: It's fine to detect that the results count has changed but it would end with a warn printed to the logs or with an error thrown to the caller if this case should never happen