Details
-
Bug
-
Resolution: Fixed
-
Low
-
2.5.2
Description
Hi, today my search button for one of the repos started to answer "An error occurred while listing the files. The files listed may not be complete."
I found exception in log and it is in attach.
Also, I found this exception in sources:
log.error(String.format(
"Error occurred while streaming file listing '%s' at path '%s' at revision '%s'",
repository.getName(),
path,
objectId
), e);
KeyedMessage errorMessage = i18nService.getKeyedText(
"stash.rest.filelist.error",
"An error occurred while listing the files. The files listed may not be complete.");
if (!new RestErrors(errorMessage.getLocalisedMessage()).endScopeAndTryWriteTo(writer))
And also, I tried to re-send get-request:
https://our.server.address/rest/api/latest/projects/STARDUST/repos/browser/files?limit=100000&at=refs%2Fheads%2Fmaster
It returns JSON with
"errors":[
on the end, but all the files are included (seems to be)
but! if you change limit to 99999 it will return valid JSON with 99999 files