CAIQUM-6398: AIQUM GUI Shows "Too many items to display. All contents of specified directory will be restored." when restore directory loads more than 995 files
Issue
When trying to do a restore operation on a volume via AIQUM, loading a directory with more than 995 files will not load any of the contents and will display "Too many items to display. All contents of specified directory will be restored." If the checkbox is de-selected, then an error is thrown in the GUI: "Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)" AIQUM logs show the following errors: ocumserver.log: ERROR [default task-21] [service.logging.SimpleRemoteLoggingService|logOnServer] [c.n.n.c.u.a.e.ApplicationErrorHandler] Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)" com.google.gwt.core.shared.SerializableThrowable: Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)" rest outbound.log DEBUG [default task-2] [service.storage.volume.SnapshotBrowserItemLiveListService|getItems] Response : OntapRestResponse{ response: Response\{protocol= http/1.1, code=400, message=Bad Request, url=https://<cluster_name>/api/storage/volumes/<id>/files/<snapshot_name>max_records=2147483640&fields=*} body: {"error":{"message":"The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)","code":"262197","target":"max_records"}} locationHeader: null job: false
} The restore operation will still work if we choose to restore the whole directory, However, you are not able to select single files to restore if the directory loads more than 995 files.