Modify

Opened 15 years ago

Closed 14 years ago

#6265 closed defect (duplicate)

Add Path with empty field leads to invalid configuration

Reported by: yves.kurz@… Owned by: Kis Gergely
Priority: normal Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

If the Path input is empty and a user clicks the Add butten the plugin is adding the following line to to the configuration file:

[]

This line cannot be parsed by the plugin and leads to an error each time the trac is loaded.

Most recent call last:
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 173, in dispatch
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 286, in _pre_process_request
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 79, in pre_process_request
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 142, in get_repository
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 286, in get_repository
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/svn_authz.py", line 47, in SubversionAuthorizer
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/svn_authz.py", line 88, in __init__
File "/usr/lib/python2.5/ConfigParser.py", line 267, in read
File "/usr/lib/python2.5/ConfigParser.py", line 490, in _read

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Duplicate of #5689.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Kis Gergely.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.