Command maint-validate-metadata: correct missing 'itemtype' entry in item metadata#2242
Conversation
|
I created an account, edited the meta file removing "itemtype": "userprofile", ran "moin maint-validate-metadata" > 0 items with invalid metadata found ran pip install python-dotenv ran "moin maint-validate-metadata" > 0 items with invalid metadata found Expected the meta file to be corrected. Use of "parent_id: str | None = None" seems odd |
|
Can you please try again providing the verbose flag ( Installation of python-dotenv is not required at all. The message showed up because I have a |
|
(.venv) C:\Clones\Roland-ruedenauer\moin>moin maint-validate-metadata -v |
|
A backend must be specified, e.g. userprofiles or all backends |
This just corrects a type hinting error: you can't specify a field to have type And a value |
|
Ah - user error. Thanks |
Fixes issue #2228