Closed Bug 1641439 Opened 5 years ago Closed 5 years ago

Creating a new profile by name trailing a white space will fail, but directory was created

Categories

(Toolkit :: Startup and Profile System, defect)

20 Branch
Desktop
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 358499
Tracking Status
firefox-esr68 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- wontfix

People

(Reporter: alice0775, Unassigned)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Reproducible: since Firefox20

Steps To Reproduce:

  1. Start firefox.exe -p
  2. Click [Create Profile...], Click [Next]
  3. Input "foo " without quotation marks
  4. Click [Finish]
  5. Observe your profile directory (C:\Users***\AppData\Roaming\Mozilla\Firefox\Profiles)

Actual Results:
A error dialog pops up at step 4.

Profile couldn’t be created. Probably the chosen folder isn’t writable.
[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIToolkitProfileService.createProfile]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://mozapps/content/profile/createProfileWizard.js :: onFinish :: line 239" data: no]

"****.foo" directory created as expected, but not listed in the Profile Manager

Expected Results:
Successfully created with trimmed name.

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0d373cf880fd&tochange=d7841347b558

Suspect: 964fe8cb452b24a04957c529de4c43c0adcdd529 Richard Newman — Bug 808263 - Write profile creation time to the profile on creation. r=Mossop

Has Regression Range: --- → yes
Has STR: --- → yes

The severity field is not set for this bug.
:mossop, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dtownsend)
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(dtownsend)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.