Error 500 after deleting user

Issue #188 resolved
Former user created an issue

After I delete user which has permissions on some repository, I can't edit settings of this repository because of error 500 in browser on page

Last error in log is File '/usr/local/lib/python2.6/site-packages/RhodeCode-1.1.8-py2.6.egg/rhodecode/controllers/admin/', line 304 in edit p.permission.permission_name}) AttributeError: 'NoneType' object has no attribute 'username'

Comments (4)

  1. Marcin Kuzminski repo owner

    This might be also cache related, does it happen also when you restart server ?

  2. Marcin Kuzminski repo owner

    Fixed. in rev 1405 Thanks, it was missing relationship removal, postgresql will not allow such removal but sqlite is not so strict when it comes to foreign keys.

  3. Log in to comment