Skip to content

[Backport 4.2.x] Editor / Remove wrong ERROR log message on multilingual records - #8157

Open
geonetworkbuild wants to merge 2 commits into
4.2.xfrom
backport-8049-to-4.2.x
Open

[Backport 4.2.x] Editor / Remove wrong ERROR log message on multilingual records#8157
geonetworkbuild wants to merge 2 commits into
4.2.xfrom
backport-8049-to-4.2.x

Conversation

@geonetworkbuild

Copy link
Copy Markdown
Collaborator

Backport #8049
Authored by: @fxprunayre

@sonarqubecloud

sonarqubecloud Bot commented Jun 6, 2024

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@josegar74 josegar74 added this to the 4.2.11 milestone Jun 17, 2024
@josegar74 josegar74 modified the milestones: 4.2.11, 4.2.12 Oct 25, 2024
@CLAassistant

CLAassistant commented Dec 8, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@josegar74 josegar74 modified the milestones: 4.2.12, 4.2.16 Jun 6, 2026
@juanluisrp juanluisrp modified the milestones: 4.2.16, 4.2.17 Jun 11, 2026
This type of errors were reported but are wrong on multilingual records:

```
2024-05-16T10:45:08,952 ERROR [geonetwork.editor] - Element not found at ref = 554
2024-05-16T10:45:08,953 ERROR [geonetwork.editor] - Element not found at ref = 556
```

Multilingual elements have reference like `_lang_EN_123` and are managed by `updatedLocalizedTextElement` method and the schema plugin. There is no need to search for them in the preprocess phase.
@juanluisrp
juanluisrp force-pushed the backport-8049-to-4.2.x branch from 761666e to ef1cf2f Compare June 11, 2026 06:41
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@josegar74 josegar74 modified the milestones: 4.2.17, 4.2.18 Jul 8, 2026
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

Successfully merging this pull request may close these issues.

5 participants