HotFix: Keeping selected state of data (Scope, Roles, Users etc) in a cardview control


In AuthAnvil Password Server v2.5.3 - v2.8 later an AJAX UI defect exists where the cardview control may not keep selection state if you have a lot of data across several pages.

To help facilitate faster rendering for customers with larger sets of data, we only prefetch a certain amount of data that we "look ahead" to and bring down to the browser. The defect is that in certain conditions, when you update the state of some objects in the cardview and write it back to the database, pages that have no yet been prefetched are not included in the saved state, ultimately un-selecting data.

An example is when trying to manage role assignment for large amounts of users. If you make a change to add or remove a user from page one and never prefetch any more data, users selected in further pages are un-selected when you save the information.

Note: If you are using a version older then v2.8 please follow this guide to upgrade before attempting this fix.

Applying the Hotfix

Attached to this article is a zip ( that holds updated DLL that fixes this issue.

To apply this fix, please follow the steps below:

  1. Backup your existing AAoP Password server following this article.
  2. Stop the AAPS Application Pool in IIS
  3. Unzip the attached file and copy the contents from the hotfix directory to C:\Program Files\Scorpion Software\AuthAnvil Password Server\AAPS\js
  4. Restart the AAPS Application Pool in IIS 

Once IIS restarts the app pool, this defect will no longer exist, and the cardview state will properly save to the database regardless if data is prefetched. 




Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk