rohityadavcloud commented on PR #7846: URL: https://github.com/apache/cloudstack/pull/7846#issuecomment-1674342804
@DaanHoogland in case of the UI, routing/re-routing, refer to the browser/history URL change; when we move from one list view or resource view to any other, the AutogenView is the same component that render such views; since it's the same component it doesn't unmount/recreated, and any previous APIs (list APIs generally) fired by the fetchData() may return and call the handler (see the api() in fetchData()) which can mess the new list/resource view and cause it to update its `this.items` or `this.resource`. This is generally rare, but can happen when the list API is slow (in my case I can reproduce, and share a video of the same if it helps - before and after this PR). Due to this side effect, something like this can be produced https://www.loom.com/share/97225b22110944b689687409729f2938?sid=435ff224-bb2c-4d14-8ab1-867d91352cfe -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
