Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation error display in editor #383

Open
karolina-siemieniuk-morawska opened this issue Sep 20, 2023 · 0 comments
Open

Validation error display in editor #383

karolina-siemieniuk-morawska opened this issue Sep 20, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@karolina-siemieniuk-morawska
Copy link
Collaborator

When I am trying to save a record with invalid document input there's an error on console but no error for editor user:

Subscriber.js:247 Uncaught TypeError: Cannot read properties of undefined (reading 'errors')
    at e.setValidationProblems (editor-error-converter.service.ts:45)
    at l.onSaveError (record-toolbar.component.ts:159)
    at e._error (record-toolbar.component.ts:146)

Moved from: inspirehep/inspirehep#2329

@karolina-siemieniuk-morawska karolina-siemieniuk-morawska added the type: bug Something isn't working label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant