Aam-Digital / ndb-core

Easy-to-use case management web app for NGOs anywhere in the world.
http://www.aam-digital.com
GNU General Public License v3.0
47 stars 14 forks source link

Public Forms throw error on invalid submission instead of showing user feedback #2445

Closed sentry-io[bot] closed 4 days ago

sentry-io[bot] commented 5 days ago

To reproduce: try to submit a public form with required fields empty -> console logs error but no clear message is shown to user.

Sentry Issue: AAM-DIGITAL-5KB

Error: Invalid form fields
  at new InvalidFormFieldError (./src/app/core/common-components/entity-form/invalid-form-field.error.ts:6:5)
  at EntityFormService.checkFormValidity (./src/app/core/common-components/entity-form/entity-form.service.ts:242:3)
  at key (./src/app/core/common-components/entity-form/entity-form.service.ts:212:10)
  at {PublicFormComponent#2}.submit (./src/app/features/public-form/public-form.component.ts:60:8)
...
(13 additional frame(s) were not displayed)
aam-digital-ci commented 4 days ago

:tada: This issue has been resolved in version 3.38.1-master.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

aam-digital-ci commented 4 days ago

:tada: This issue has been resolved in version 3.38.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: