Edgewall Software

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 — at Version 2

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|
    

Change History (2)

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].

Note: See TracTickets for help on using tickets.