Skip to content

Frontend: Global formerrors are not displayed in forms #509

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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