Bug 468429

Summary: Error while creating a new file project if there are missing folders
Product: [Applications] KEXI Reporter: Jarosław Staniek <staniek>
Component: GeneralAssignee: Kexi Bugs <kexi-bugs>
Status: CONFIRMED ---    
Severity: minor CC: adam, inksi, pstaniek.stech
Priority: NOR    
Version: 3.2.0   
Target Milestone: 3.2.1   
Platform: Other   
OS: All   
URL: https://invent.kde.org/office/kexi/-/issues/131
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Error

Description Jarosław Staniek 2023-04-12 18:04:50 UTC
Error while creating a new file project if there are missing folders.

STEPS TO REPRODUCE
1.  In the "Project Caption & Filename" page of the New Project assistant alter the file path by adding one or more nonexisting subfolders. For example change /home/foo/Documents/db.kexi to /home/foo/Documents/non/existing/folder/db.kexi
2. Click Next

OBSERVED RESULT
"Could not create database" error appears.

EXPECTED RESULT
All the missing folders are created, then the db file is properly created. For the above example these would be "/non/existing/folder/"
Comment 1 Jarosław Staniek 2023-04-12 18:06:21 UTC
Created attachment 158043 [details]
Error