Univention Bugzilla – Bug 38329
STORAGE_POOLS returns unicode
Last modified: 2023-06-28 10:51:45 CEST
We received the following traceback, 4.0-1 errata160 (Walle): Die Ausführung des Kommandos uvmm/storage/volume/deletable ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/uvmm/storages.py", line 218, in storage_volume_deletable pool = self.get_pool(node_uri, volume['pool']) File "%PY2.7%/univention/management/console/modules/uvmm/storages.py", line 286, in get_pool pools = dict([(pool.name, object2dict(pool)) for pool in data]) AttributeError: 'unicode' object has no attribute 'name' From Code-Review it looks strange. Maybe data is a string from some exception instead of a list?
*** This bug has been marked as a duplicate of bug 39569 ***