geonetwork / geonetwork/core-geonetwork

xlink metadata contact does not sync

Open
#8,700 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
521
Forks
515
Avg merge
6d 13h
Merged PRs (30d)
19

Description

Describe the bug
When I do modify contacts via geonetwork does not trigger indexation of the metadata associated.

To Reproduce
Steps to reproduce the behavior:

  1. Activate xlink in parameters of geonetwork
  2. Activate the xlink in the config-editor.xml of the schema (as proposed in here https://github.com/geonetwork/core-geonetwork/pull/8701 )
  3. Create a subtemplate contact
  4. Create a metadata linking to this subtemplate contact
  5. Check if the subtemplate contact is well-connected to the metadata (in "manage directory"), it is
  6. Update the subtemplate contact info
  7. Check the xml format of the metadata, the subtemplate contact is up-to-date
  8. Check the metadata via normal interface, the subtemplate contact is not up-to-date
  9. run indexation of the metadata via admin console tool / or open metadata editor (without saving) and close it
  10. The metadata is now up-to-date with the subtemplate contact modification

Expected behavior

Contact is up-to-date without action from the administrator.

Desktop (please complete the following information):

  • GeoNetwork Version 4.2.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the xlink contact workflow using the parameters, schema config-editor.xml, subtemplate contact, metadata editor, and admin console indexation tool. Compare the metadata XML with what the normal interface and index show after updating the contact. Done means the indexed metadata reflects the contact change without manual reindexing or opening and closing the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.