Uploaded assets go to root instead of folder when a folder is open

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

When uploading an asset while inside a folder, the asset ends up in the root.

Expected behavior

The asset should end up in the folder I’m in when I drag the asset in or click the select files button.

Minimal reproduction of the problem

  • Open a folder
  • Upload a file
  • The file ends up in the root.

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

Version: [VERSION]

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:
This bug appears to have been resolved back in April, but it’s back.

The bug has not been deployed to the cloud yet.

Just for reference: [SOLVED] Uploading assets to folder instead puts them in the root