After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 305759 - adding a user profile with a name already in use causes the old user profile to disappear
adding a user profile with a name already in use causes the old user profile ...
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
Depends on:
Blocks:
 
 
Reported: 2005-05-28 17:10 UTC by Rosanna Yuen
Modified: 2007-09-19 19:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rosanna Yuen 2005-05-28 17:10:28 UTC
1) Start Sabayon
2) Create a user profile
3) Edit this profile so there can be changes apparent
4) Select "Add" again and enter the same name as in step 2
5) The changes made in step 3 are gone

I should not be able to give a new profile a name that is already taken.  An
error message would be nice as well.
Comment 1 Mark McLoughlin 2005-06-08 10:53:15 UTC
Thanks, fixed on HEAD by making it create profile "foo (1)" if you try and
create "foo" when it already exists

2005-06-08  Mark McLoughlin  <markmc@redhat.com>

        When creating a new profile, make sure the profile name
        is unique. Fixes bug #305759

        * admin-tool/profilesdialog.py:
        (ProfilesModel.reload): sort the profiles list
        (ProfilesDialog.__make_unique_profile_name): if the
        profile name already exists, make it unique by adding
        an integer in parenthesis to the name.