Skip to content

[Bug] data dictionary doesn't save "Rules" section (application version 2.0) #1941

Description

@Eveltjen00

Steps to Reproduce:
If you go to yourcollectiveAccessURL/administrate/setup/DataDictionary/ListEntries
Press + (New data dictionary entry for X)
Fill out all fields
Click Save.
Go back to yourcollectiveAccessURL/administrate/setup/DataDictionary/ListEntries
Observe that the row saves and information such as Preferred labels, Bundle name, Entry type and Data dictionary entry settings, yet the information in the block "Rules" does not save.

=> When attempting to configure a custom validation rule inside the Data Dictionary user interface (/administrate/setup/DataDictionary/ListEntries), any information entered into the fields in the container "Rules" or "Data dictionary entry settings" e.g. Rule code, Rule level, Expression, .... is completely discarded upon clicking Save.

The accompanying profile.xml export:

  <metadataDictionary>
    <entry bundle="deaccession_storage" table="ca_objects">
      <labels>
        <label locale="en_US">
          <name>deaccession_storage</name>
        </label>
      </labels>
      <settings>
        <setting name="mandatory">0</setting>
        <setting name="definition"/>
        <setting name="restrict_to_types"/>
        <setting name="restrict_to_relationship_types"/>
      </settings>
    </entry>
  </metadataDictionary>

I'm assuming this is still a work in progress?
It would also be an added value to be able to access the Data dictionary from the Manage menu button

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions