Closed Bug 65586 Opened 24 years ago Closed 11 years ago

Profile names ending in a space cannot be migrated

Categories

(Core Graveyard :: Profile: BackEnd, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: ccarlen, Assigned: ccarlen)

Details

This was discovered while debugging bug 62073. From that bug:
Finally had a chance to debug using the Netscape Registry you sent. Found the
problem - The first profile name in that registry ends with a space. That name
is added as-is to the new registry. Turns out that a registry key cannot end in
a space or will cause an error. That's what happens. When migrating, we error
out on the first entry because of the space, nothing else gets migrated, the
profile list ends up empty, and all hell breaks loose.
What a coincidence -- I was sitting on the Mac today, and was trying out a Mac 

build for the first time in a long time, and noticed it hadn't been fixed.

Great to see you've found the problem.



Looking into the issue of there being space in the profile names -- there's no 

spaces in the folder names, which were created from the profile names, hm, but 

I'll see. Have to restart NS to check it out.

The profile that seems to have caused the problem did not end in a space, but was 
called "Torbjörn Sundlöf (stadshypotek)" -- probably it got confused with the 
parenthesis'. I renamed that profile to "Torbjörn Sundlöf-stadshypotek", removed 
Mozilla settings (Component Reg., Documents, Mozilla Registry) and now it finds 
that profile, but none of the others with sane names. Hrm.
I renamed the profiles to

"Ann-Sofi"
"Petter"
"Stadshypotek"
"Torbjörn"

...and now Mozilla sees them all, and is able to migrate.

Of course, I shouldn't have to do this.
No, you shouldn't. That's why I filed the bug ;-)
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Keywords: mozilla1.1
QA Contact: agracebush → profile-manager-backend
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.