Accessing, editing or deleting profiles fails when the original profile has a custom location
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
People
(Reporter: sbadau, Assigned: mossop)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [fidefe-profile-management])
Attachments
(1 file)
Found in
- Nightly 146.0a1
Affected versions
- Nightly 146.0a1
- Firefox 145.0b2
- Firefox 144
- Firefox 140.4.0 esr
Tested platforms
- Affected platforms: Windows 11, Ubuntu 25.04 and macOS 15.
Preconditions
- Create a new profile using the Profile Manager and set a custom location for it (e.g. a folder on the Desktop).
Steps to reproduce
- Open Firefox with the profile from the preconditions and create two switchable profiles (Profile A and Profile B).
- In the original profile, click Manage Profile.
- Delete Profile A.
- Close the original profile.
- Close Profile B.
- Launch Firefox, and from the Profile Selector, click on the original profile.
Expected result
- In step 3 - Profile A should be deleted.
- In step 6 - the Original Profile should be launched successfully.
Actual result
- In step 3 - Profile A is not deleted nothing happens when clicking the Delete Button.
- In step 6 - the original profile cannot be accessed, deleted, or edited. For more details please see the screen recording.
Regression range
- Not a regression, reproducible on all Firefox versions.
Additional notes
- This is the error caught in the Browser Console:
Uncaught (in promise) DOMException: PathUtils.joinRelative: Could not append to path: NS_ERROR_FILE_UNRECOGNIZED_PATH
Updated•9 months ago
|
Comment 1•9 months ago
|
||
Hey :mossop - I'm not sure how to categorize the severity here. I'm curious, do we have similar bugs with the toolkit profile service? I suppose it might be due to using relative paths in the database--but we use relative paths in profiles.ini too. Not a MAX_PATH bug, since it occurs on platforms other than windows.
| Assignee | ||
Comment 2•8 months ago
|
||
Particularly now that we support migrating profiles from profiles.ini we have to support paths outside of the expected location. I think we just need to replace the use of joinRelative which doesn't support .. components.
| Assignee | ||
Comment 3•8 months ago
|
||
Updated•7 months ago
|
Updated•6 months ago
|
Comment 6•6 months ago
|
||
| bugherder | ||
Comment 7•6 months ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•6 months ago
|
Updated•6 months ago
|
| Reporter | ||
Updated•6 months ago
|
| Reporter | ||
Comment 8•6 months ago
|
||
Verified as fixed using the latest Firefox 148.0b4 and Nightly 149.0a1 on Windows 11 x64, macOS 15 and Ubuntu 24.04 - accessing, editing or deleting profiles doesn't fail anymore when the original profile has a custom location.
Updated•6 months ago
|
Description
•