The issue involves language-specific folder naming discrepancies.
The issue arises when the default language is set to non-English, causing folder naming inconsistencies during app installation and file uploads. The fix likely involves ensuring folder names are correctly handled across different languages. The main blocker is understanding how folder naming logic interacts with language settings.
If the default language is set to other than english, the function make_home_folder from Frappe version-15 (called during app installation), creates the folder with translated name but the rest of the code does not consider the translated folder name, which causes upload_file to return a HTTP 417 status with "Could not find Folder: Home" message.
Output of bench version
erpnext 15.71.1
frappe 15.74.2
bench set-config -g lang {some_language} to set default language to other than englishView the error "Could not find Folder: Home" or "Could not find Folder: Home/Attachments" on screen
Upload the file succe
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!
safwansamsudeen