CMS: Enabling and managing comments causes NameError loop
trendspotter opened this issue · comments
Steps to reproduce:
- Log in and navigate to Administration -> CMS
- Open a post (any from the default 3)
- Check Comments permitted? and click Save
- Click on Comments tab
Traceback (most recent call last):
File "/srv/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File "/srv/web2py/applications/eden/controllers/cms.py", line 973, in <module>
File "/srv/web2py/gluon/globals.py", line 429, in <lambda>
self._caller = lambda f: f()
File "/srv/web2py/applications/eden/controllers/cms.py", line 858, in comments
form = crud.create(table)
NameError: name 'crud' is not defined
There seems to be some javascript periodically refreshing the content which leads to the error ticket being created in loop until the user closes the tab or navigates elsewhere.