Creating a new collection (been testing in ddr-testing) and creating new objects throws-up AttributeError `'list' object has no attribute 'identifier'. In both instances, the operation throws up this error page, but the collections&objects are created successfully.
New Collection
Request Method: GET
Request URL: http://192.168.56.101/ui/collection/ddr-testing/new-idservice/
Traceback:
File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
111. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/ddr-local/ddrlocal/webui/decorators.py" in wrapper
24. return f(*args, **kwargs)
File "/opt/ddr-local/ddrlocal/webui/views/decorators.py" in inner
19. return func(request, *args, **kwargs)
File "/opt/ddr-local/ddrlocal/storage/decorators.py" in inner
84. return func(request, *args, **kwargs)
File "/opt/ddr-local/ddrlocal/webui/views/collections.py" in new_idservice
287. collection = _create_collection(request, cidentifier, git_name, git_mail)
File "/opt/ddr-local/ddrlocal/webui/views/collections.py" in _create_collection
236. collection.post_json()
File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/ddr_cmdln-0.9.4b0-py2.7.egg/DDR/models/__init__.py" in post_json
967. 'parent_id': self.identifier.parent_id(),
File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/ddr_cmdln-0.9.4b0-py2.7.egg/DDR/docstore.py" in post
551. parents = _parents_status([document.identifier.path_abs()])
Exception Type: AttributeError at /ui/collection/ddr-testing/new-idservice/
Exception Value: 'list' object has no attribute 'identifier'
New Object
Request Method: GET
Request URL: http://192.168.56.101/ui/entity/ddr-testing-40052/new-idservice/
Traceback:
File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
111. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/ddr-local/ddrlocal/webui/decorators.py" in wrapper
24. return f(*args, **kwargs)
File "/opt/ddr-local/ddrlocal/webui/views/decorators.py" in inner
19. return func(request, *args, **kwargs)
File "/opt/ddr-local/ddrlocal/storage/decorators.py" in inner
84. return func(request, *args, **kwargs)
File "/opt/ddr-local/ddrlocal/webui/views/entities.py" in new_idservice
417. entity = _create_entity(request, eidentifier, collection, git_name, git_mail)
File "/opt/ddr-local/ddrlocal/webui/views/entities.py" in _create_entity
365. entity.post_json()
File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/ddr_cmdln-0.9.4b0-py2.7.egg/DDR/models/__init__.py" in post_json
1686. 'parent_id': self.parent_id,
File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/ddr_cmdln-0.9.4b0-py2.7.egg/DDR/docstore.py" in post
551. parents = _parents_status([document.identifier.path_abs()])
Exception Type: AttributeError at /ui/entity/ddr-testing-40052/new-idservice/
Exception Value: 'list' object has no attribute 'identifier'
Creating a new collection (been testing in ddr-testing) and creating new objects throws-up
AttributeError
`'list' object has no attribute 'identifier'. In both instances, the operation throws up this error page, but the collections&objects are created successfully.New Collection
New Object