When I import a snapshot on my local machine, it creates a folder with a random name eg "1ruguqhz.zbi"
When I try to reload the list of snapshots, I get an error from umbraco/backoffice/usync/snapshotapi/GetSnapshots
System.ArgumentOutOfRangeException: Length cannot be less than zero. (Parameter 'length')
at System.String.Substring(Int32 startIndex, Int32 length)
at uSync.Snapshots.Services.SnapshotService.GetDateFromFolder(String folder)
at uSync.Snapshots.Services.SnapshotService.GetSnapshotInfo(String folder, Boolean local)
If I rename the random folder back to the name of the zip, then the list of snapshots starts working again
uSync Snapshots import error in GetDateFromFolder
Hi again,
I've spotted a problem with the snapshot import.
When I import a snapshot on my local machine, it creates a folder with a random name eg "1ruguqhz.zbi"
When I try to reload the list of snapshots, I get an error from umbraco/backoffice/usync/snapshotapi/GetSnapshots
If I rename the random folder back to the name of the zip, then the list of snapshots starts working again
Hi
Yeah thanks for spotting that, I've raised (and closed) an issue, as we've put a fix into the next patch release.
https://github.com/Jumoo/uSync.Complete.Issues/issues/156
you can try the patch release from our nightly feed
https://dev.azure.com/jumoo/Public/packaging?a=package&feed=nightly&package=uSync.Complete&protocolType=NuGet&version=9.0.7-rc001.20220125.1
Thanks
Its working with the nightly build
is working on a reply...