tsgrp / HPI

OpenContent Management Suite (OCMS)
http://www.tsgrp.com/products
17 stars 5 forks source link

AW - Slow Page Loading When Query Results Are Large #2362

Closed mwojno-tsg closed 3 years ago

mwojno-tsg commented 3 years ago

Overview

Ideas for Solution

gsteimer commented 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.

mwojno-tsg commented 3 years ago

Upon further investigation there are some more details to provide concerning this:

newmanju commented 3 years ago

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