•  
      request #9395 A restricted user can not browse the SVN tree in SVN core if the SVN plugin is not installed
    Infos
    #9395
    Thomas Gerbet (tgerbet)
    2016-08-29 15:02
    2016-08-11 18:10
    9670
    Details
    A restricted user can not browse the SVN tree in SVN core if the SVN plugin is not installed
    The user gets the following stack trace instead of the SVN tree:
    Traceback (most recent call last):
    File "/usr/share/viewvc/lib/viewvc.py", line 3814, in main
    request.run_viewvc()
    File "/usr/share/viewvc/lib/viewvc.py", line 318, in run_viewvc
    if not svnaccess.check_read_access(user.user_getname(), self.rootpath, self.where):
    File "/usr/share/tuleap/src/www/../utils/svn/svnaccess.py", line 166, in check_read_access
    group_name = get_group_from_svnrepo_path(svnrepo)
    File "/usr/share/tuleap/src/www/../utils/svn/svnaccess.py", line 147, in get_group_from_svnrepo_path
    group_name = get_group_name_from_plugin_svnrepo_path(svnrepo)
    File "/usr/share/tuleap/src/www/../utils/svn/svnaccess.py", line 132, in get_group_name_from_plugin_svnrepo_path
    res = cursor.execute(query)
    File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute
    self.errorhandler(self, exc, value)
    File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
    ProgrammingError: (1146, "Table 'tuleap.plugin_svn_repositories' doesn't exist")
    SCM/Subversion
    8.16
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-08-29
    Attachments
    Empty
    References

    Follow-ups