Bug 7005 - Toaster UI - two or more projects having the same name can be created
Summary: Toaster UI - two or more projects having the same name can be created
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.2 M1
Assignee: Sujith H
QA Contact: Libertad
URL:
Whiteboard: GUI design available
Depends on:
Blocks:
 
Reported: 2014-12-02 09:11 UTC by Ionut Chisanovici
Modified: 2016-07-18 17:14 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Design - Enforcing unique project names (117.32 KB, application/pdf)
2016-03-11 09:15 UTC, Belen Barros Pena
no flags Details
Design - Enforcing unique project names (268.14 KB, application/pdf)
2016-04-19 13:36 UTC, Belen Barros Pena
no flags Details
Snapshot shows that toaster does not let the user create two projects with the same name. (50.66 KB, image/png)
2016-07-18 17:10 UTC, Libertad
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ionut Chisanovici 2014-12-02 09:11:00 UTC
Hi,

Toaster allows users to add two or more projects with the same name.

Cheers,
Ionut C
Comment 1 Alexandru Damian 2014-12-02 14:51:37 UTC
Maybe we should just let it be? We don't uniquely identify projects by name, so that's not a problem.
Comment 2 Belen Barros Pena 2014-12-02 17:50:59 UTC
Well, maybe we don't need to fix this right now, but I can see the issue. Although we don't uniquely identify projects by name in the database, we do in the interface, so having a table with project names that actually refer to different project pk's can be confusing.
Comment 3 Belen Barros Pena 2016-03-11 09:15:37 UTC
Created attachment 3024 [details]
Design - Enforcing unique project names
Comment 5 Belen Barros Pena 2016-04-19 13:36:24 UTC
Created attachment 3134 [details]
Design - Enforcing unique project names

Adding how to handle project name validation in the configuration pages (apologies: completely missed that case).
Comment 6 Belen Barros Pena 2016-04-25 14:10:22 UTC
This is already in progress review, so moving to 2.2M1
Comment 8 Libertad 2016-07-18 17:10:42 UTC
Created attachment 3290 [details]
Snapshot shows that toaster does not let the user create two projects with the same name.
Comment 9 Libertad 2016-07-18 17:14:16 UTC
Verified in commit 6f0c5537e02c59e1c8f3b08f598dc049ff8ee098

Steps taken to verify:

1. Started Toaster
2. Created a project named : "projec1"
3. Tried to create a second project with the same name : "projec1"

See attachment 3290 [details] to see the image where Toaster wont allow a second project be created with the same name.