I have…
- [ ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
GetAssetFoldersAsync(appName) return AssetFoldersDto and each Item is AssetFolderDto. Its Parentid is supposed to be valid Id of its parent. However, all parentId of each AssetFolderDto is all 00000000-0000-0000-0000-000000000000 regardless its parent is valid or not. This makes impossible to upload assets to a folder with a valid parent. For example: we
Public/Authors/External-authors. We need to load external author images to the leaf folder external-authors by this hierarchy. I am unable to identify external-authors folder by this hierarchy.
Expected behavior
If a AssetFolderDto has a valid parent, then its parentId should point to parent’s AssetFolderDto.Id
Minimal reproduction of the problem
- Create an asset Folder under root called Public, then create public/author folder.
- Make a call .GetAssetFoldersAsync(appName), then check returned AssetFoldersDto.Items (2 of them), both has pareentId as 00000000-0000-0000-0000-000000000000 , while it is expected authors object parentId should be the Id of Public’s AssetFolderDto
Environment
- [ ] Self hosted with docker
- [x ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: [VERSION]
7.5
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
We are paid subscriber