You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/my-moin-path/moin-venv-python3/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/my-moin-path/moin-venv-python3/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/my-moin-path/moin-venv-python3/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/my-moin-path/moin-venv-python3/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/my-moin-path/moin/src/moin/apps/frontend/views.py", line 1257, in destroy_item
item.destroy(comment=comment, destroy_item=destroy_item, subitem_names=subitem_names)
File "/my-moin-path/moin/src/moin/items/__init__.py", line 919, in destroy
old_name = self.names if len(self.names) > 1 else self.names[0]
~~~~~~~~~~^^^
IndexError: list index out of range
2024-08-04 18:14:09,865 INFO werkzeug:97 127.0.0.1 "POST /+destroy/@itemid/6409c3cc45b948878e6c49f90b600d97 HTTP/1.1" 500 -
When deleting an item the name in metadata is set to None after moving it to "old name".
The text was updated successfully, but these errors were encountered:
To reproduce this issue:
The resulting traceback is:
When deleting an item the name in metadata is set to None after moving it to "old name".
The text was updated successfully, but these errors were encountered: