Skip to content

Incorrect defaults for COMMUNITIES_CUSTOM_FIELDS (and ui) in invenio_communities/config.py #1191

@mesemus

Description

@mesemus

Package version (if known): all releases

Describe the bug

The default for COMMUNITIES_CUSTOM_FIELDS in

COMMUNITIES_CUSTOM_FIELDS = {}
is an empty dict, but should be a list (even written in the usage inside docstring). Dtto for COMMUNITIES_CUSTOM_FIELDS_UI

Expected behavior

Should be an array, not a dict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions