Issue Details (XML | Word | Printable)

Key: CONTINUUM-1746
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Olivier Lamy
Reporter: Jevica Arianne B. Zurbano
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Continuum

Duplicate Profile names are accepted

Created: 28/Apr/08 01:51 AM   Updated: 10/May/08 04:21 PM   Resolved: 10/May/08 04:21 PM
Component/s: Core - Profiles
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

File Attachments: 1. Text File CONTINUUM-ProfileAction-DuplicateProfile.patch (1 kB)

Environment: WinXP

Complexity: Intermediate
Patch Submitted: Yes


 Description  « Hide

When adding or editing Profiles, names can be duplicated.



Olivier Lamy added a comment - 09/May/08 04:04 PM

This must be check in updateProfile too.
I won't use the patch because IMHO this must be managed in core and not in the UI part.
I will add an Exception called AlreadyExistsProfileException which will be throw by updateProfile and addProfile


Olivier Lamy added a comment - 09/May/08 05:38 PM

fixed in rev 654966


Wendy Smoak added a comment - 10/May/08 10:18 AM - edited

When I edit an existing profile and save my changes, I get:

Action Error

  • A Profile with the same name already exists

(It does go ahead and save the changes though.)

I'm assuming this change introduced that behavior; I didn't go back and test it prior to this commit.


Olivier Lamy added a comment - 10/May/08 04:21 PM

fixed in rev 655192.
Thanks Wendy for catching it.
And thanks again for the coming review