API REST /api/indexes/ generates an "Internal Server Error"
I can find this log when I try to access /api/indexes/
Traceback (most recent call last):
File "/data/mayan-edms/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/data/mayan-edms/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/data/mayan-edms/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/data/mayan-edms/lib/python2.7/site-packages/rest_framework/views.py", line 494, in dispatch
response = self.handle_exception(exc)
File "/data/mayan-edms/lib/python2.7/site-packages/rest_framework/views.py", line 454, in handle_exception
...
AttributeError: Got AttributeError when attempting to get a value for field children
on serializer IndexInstanceNodeSerializer
.
The serializer field might be named incorrectly and not match any attribute or key on the IndexInstanceNode
instance.
Original exception text was: 'IndexInstanceNode' object has no attribute 'children'.