collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
290 stars 166 forks source link

Install profile: typeRestrictions not being obeyed in placement element #1546

Closed Monica-Wood closed 2 months ago

Monica-Wood commented 3 months ago

EG <placement code="description" typeRestrictions="artwork,poem" includeSubtypes="0">

not being obeyed and instead showing for all types.

Workaround is to set restrictions directly in metadataElement

EDIT: The workaround wont work for relationships bundles in placements, a bit more serious than I first thought.

Monica-Wood commented 3 months ago

Just Discovered that typeRestrictionLeft and typeRestrictionRight are also not working for Relationship types in Install profiles.