Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation dates added to XML after editing approved records (workflow enabled) #8411

Open
arhamqureshi opened this issue Oct 9, 2024 · 0 comments

Comments

@arhamqureshi
Copy link

Describe the bug
An additional creation date is added to the XML when a record is edited and saved with the metadata workflow enabled.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Metadata Workflow from the settings page
  2. Go to any record and view the XML. Do a CTRL + F for "creation". There should only be one result
  3. Click "Manage Record" -> enable workflow (if it isn't already)
  4. Click "Manage Record" -> "Directly approve metadata" -> "Approve"
  5. Edit the approved record, make a minor edit and save. There will now be a working copy of the record.
  6. View the XML for the working copy and do a CTRL + F for "creation". There will be an additional creation date with the time of when the edit was saved. Once the working copy is approved, the additional creation date still does not go away.

Expected behavior
My team and I are not expecting an additional creation date and we are wondering if this is intended or not. If this is intended, is there a way to prevent the additional creation date from being added to the XML?

Screenshots
image

Desktop (please complete the following information):

  • Browser - Chrome
  • GeoNetwork Version 4.2.10
  • Server Application - Apache Tomcat/9.0.87 & openjdk version "1.8.0_422"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant