geonetwork / geonetwork/core-geonetwork

Record history not being recorded if validation on metadata save is also enabled

Open
#8,288 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
521
Forks
514
Avg merge
6d 13h
Merged PRs (30d)
19

Description

**Describe the bug**
We noticed that if you enable from the settings both **Force validation on metadata save** and **Enable record history recording** are enabled, then the record history is not recorded.

**To Reproduce**
Steps to reproduce the behaviour:
1. Navigate to settings and tick the checkbox next to **Enable record history recording** (and save the settings changes)
2. Create a new record (or edit an existing record)
3. See the change being recorded in **Admin console** > **Statistics and status** > **Versioning**
4. Navigate to settings and tick the checkbox next to **Force validation on metadata save** (and save the settings changes)
5. Create a new record (or edit an existing record) - can be the same as before, but make a new change to it
6. See the change **NOT** being recorded anymore in **Admin console** > **Statistics and status** > **Versioning**

**Expected behaviour**
We expect these settings to work in parallel, so a user should be able to enable the validation on save and also be able to keep track of the record changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.