Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11194 closed defect (fixed)

"Manage Repository" in admin page should check unique "name" value

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 0.12.6
Component: admin/web Version: 0.12-stable
Severity: normal Keywords: repository
Cc: Branch:
Release Notes:

Fix duplicated repository names in Repository Modify.

API Changes:
Internal Changes:

Description

See comment:3:ticket:11186.

How to reproduce

  1. Add "blah11" and "blah22" as repository
  2. Visit /admin/versioncontrol/repository/blah22 and modify the name to "blah11"
  3. Two "blah11" records in repository table
    $ sqlite3 /tmp/trac-0.12.5/db/trac.db 'select * from repository order by id, name'
    1|dir|/var/svn/blah11
    1|name|blah11
    1|type|svn
    2|description|
    2|dir|/var/svn/blah22
    2|name|blah11
    2|type|svn
    2|url|
    

Attachments (0)

Change History (3)

comment:1 by Jun Omae, 11 years ago

Milestone: next-minor-0.12.x0.12.6
Owner: set to Jun Omae
Status: newassigned

comment:2 by Jun Omae, 11 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed in [11806].

comment:3 by Ryan J Ollos <ryan.j.ollos@…>, 11 years ago

Keywords: repository added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.