Closed mwojno-tsg closed 3 years ago
Workaround to this issue would be to set up a "type three characters" type cascading question to limit the results that can come back in large result set queries.
For an example - see the TS Cascading Query
page sets on edge1 and edge2, specifically the User Search
page.
Per @dgrumieaux - this could still be an issue though when the user edits an existing form. Both scenarios should be tested.
Upon further investigation there are some more details to provide concerning this:
change:placeholders:none
and those triggers._.throttle
around the effected area that triggers the event. This seemed to resolve the issue. However, a better solution could be achieved.Closed with SVN Revision 26456:
Added a stopListening call before attaching a listener to the event "change:placeholders:none:" to avoid duplicate listeners. duplicate listeners were being attached because the same page was being evaluated multiple times for different flow paths in the form. We were already doing similar logic with the listener for the event "change:placeholders:validity:".
CR: dgrumieaux, aking
Overview
Active Wizard seems to be running all configured queries upon page loading within ACA. This noticeably degrades performance for the page load time when large query results are returned from these queries.
For example, I have a query that will pull from a datalist that has around 7,000 entries. This along with a few other similar queries are ran when the page loads. It freezes the page and does not let the user click around. If the user starts clicking around, it could overwhelm the application and cause a failure.
Also, this could cause timeout in a PaaS environment
Ideas for Solution