Skip to content

Frontend: Global formerrors are not displayed in forms #509

@jokiefer

Description

@jokiefer

Environment

  • Python version:
  • MrMap version:

Steps to Reproduce

  1. open http://localhost:5173/#/HarvestingJob/create and create an harvesting job for a service which has already an existing harvesting job
  2. Backend will response with 400
  3. No Error is displayed in the html form

Expected Behavior

API Errors like:

{
	"errors": [
		{
			"detail": "There is an existing harvesting job for this service.",
			"status": "400",
			"source": {
				"pointer": "/data"
			},
			"code": "unique"
		}
	]
}

are displayed in the html form.

Observed Behavior

Error messages with global jsonpointer are not displayed

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions