core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Support metadata identifiers with URL special characters

Open fgravin opened this issue 1 year ago • 2 comments

Supersede https://github.com/geonetwork/core-geonetwork/pull/5736

To run

  • Run GN locally with /web>mvn jetty:run -Dgeonetwork.security.coreconfig=encodeduuid
  • Disable auto UUID generation, see documentation

Tests that I've made

  • [x] Create a new template with https://myorg.com::{UUID}
  • [x] Create a metadata with this template
  • [x] Open it in the editor
  • [x] Edit several fields
  • [x] Save
  • [x] Open it in the viewer
  • [x] Open it as advanced view
  • [x] Export it as XML
  • [x] Export it as MEF
  • [x] Permalinks work

fgravin avatar Feb 14 '24 15:02 fgravin

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Feb 14 '24 15:02 sonarqubecloud[bot]

So WDYT ? Any feedback ?

fgravin avatar Feb 26 '24 18:02 fgravin

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Mar 29 '24 15:03 sonarqubecloud[bot]