Skip to content

Error on GeoNetwork incompatibility must appear in the reason of failed synchronization #88

@MaelREBOUX

Description

@MaelREBOUX

When you try to send a metadata from the source GeoNetwork to a target GeoNetwork which is too older / not supported, you get only a "Failed" in the interface :

Fail ❌

When you watch at the dev console, you clearly see the HTTP error and the cause :

{
	"info": {
		"msg": "Version 3.8.2 not in allowed range ['4.2.2', '4.999']",
		"url": "https://portail.sig.rennesmetropole.fr/geonetwork/srv/api/site",
		"content": {}
	}
}

This kind of error must clearly be sent back to the user to be more comprehensive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions