-
Bug
-
Resolution: Fixed
-
Low
-
2.5.2
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
Hi Igor,
I have created a JIRA support ticket for you at https://support.atlassian.com and you should receive an email shortly containing a direct link to the support ticket. Please refer to that support ticket for any future correspondence relating to this issue.
In the future, please raise support requests such as this by creating an issue in our support system, https://support.atlassian.com, not in https://jira.atlassian.com. Our support engineers respond to cases in https://support.atlassian.com and creating an issue ticket there will ensure that your problem gets addressed as quickly as possible. Also, https://support.atlassian.com is configured so that only Atlassian and you have access to the case and therefore it is a more appropriate location for us to gather any required system and/or configuration data from you.
Thanks,
Gurleen