unable to create new profile with the same name but possible via rename profile

NEW
Unassigned

Status

()

--
minor
12 years ago
10 years ago

People

(Reporter: damian.publicemail, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060813 Calendar/0.3a2+

When you try to create new profile (using wizard) with name that already exists Sunbird wants you to change name. However you can do it by changing name when profile already exists.

Reproducible: Always

Steps to Reproduce:
1. create profile1 (use sunbird -profilemanager)
2. create another profile, try to use the same name: profile1
   -> Sunbird says: Profile with this name already exists. Please choose another name.
3. use name profile2, press finish on profile wizard
   -> profile manager contains at least two profiles: profile1 and profile2
4. select profile2 and press "rename profile"
5. type profile1, click OK
   -> you have two profiles with the same name
Actual Results:  
two profiles with the same name

Expected Results:  
at least alert (or similar to wizard)

it is not problem to have two the same profiles... unless you want to delete first and be sure that you will not delete second one :)
(Reporter)

Updated

12 years ago
Version: unspecified → Trunk

Comment 1

12 years ago
This isn't sunbird specific code.  Over to Firefox for visibility on the profile manager stuff.
Component: General → General
Product: Calendar → Firefox

Updated

12 years ago
Component: General → Startup and Profile System
(Reporter)

Comment 2

12 years ago
thanks, do not know how about nightly but the latest official 1.5.0.6 has the same
QA Contact: general → startup
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061126 Minefield/3.0a1 ID:2006112602 [cairo]

confirmed
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Updated

10 years ago
Product: Firefox → Toolkit

Comment 4

10 years ago
This is no longer valid with FF 3.1b3
profile manager does not let you type in a duplicate name - Finish button is not offered.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INVALID

Comment 5

10 years ago
<brain fart>

still valid
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
(In reply to comment #4)
> This is no longer valid with FF 3.1b3
> profile manager does not let you type in a duplicate name - Finish button is not offered.

Wayne Mery, does your "Finish button is not offered" mean "grayed out" when *CREATION* of new profile? Or "Finish button doesn't exist" when *RENAME* of existent profile?

Following is profiles.ini content after creation of ABC & DEF, followed by *RENAME* of DEF to ABC.
> [Profile4]
> Name=ABC
> IsRelative=1
> Path=Profiles/hhojpu4b.ABC
> [Profile5]
> Name=ABC
> IsRelative=1
> Path=Profiles/bcfi1d2o.DEF

Comment 7

10 years ago
Your test in comment 6 is correct.  Finish is greyed out for CREATION.
Status: REOPENED → NEW
You need to log in before you can comment on or make changes to this bug.