Notifications

57 views

Description

CMDB Query Builder : the "Load More Results" button does not load more records

Release or Environment

New York Patch 6

Cause

Check if system property: "glide.security.use_csrf_token" is set to the value "false".

 

Steps to reproduce

1- Log in to instance 
2. In the left nav. go to Query Builder
3. Create / load a new (cmdb query) e.g. add server, click run
4. Click "Load More Results" button
Note: the full / additional records are not displayed
5. Add browser debug and repeat steps 3-4
Note: error in console tab: "Uncaught ReferenceError: g_ck is not defined"

Resolution

When clicking "Load More Results" button, we see an error in the browser with debug as seen in screenshot "g_ck is not defined". The variable "g_ck" is global variable for session token on the client side and is used for JQuery requests (which is made when clicking the button).

Check if system property: "glide.security.use_csrf_token" is set to the value "false".

This session is not generated and set on Client side causing the error.

Change this property to the value "true" and it should now be working i.e.: clicking on "Load All Results" = loads all results.

 

Additional Information

If the above does not work then you can try the following workaround:

Disabling the "Display Results in a new tab" option which is visible on the right hand-side, next to the "Run" button.

This displays the results in the same window and when you click "Load More" the results should be displayed.

Article Information

Last Updated:2020-04-02 11:25:22
Published:2020-04-02