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

Attempting to create an empty Goal returns inelegant 500 error #431

Closed
1 task done
victoriadrake opened this issue Nov 21, 2020 · 2 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@victoriadrake
Copy link

Prerequisites

  • I have searched open and closed issues to make sure that the bug has not yet been reported.

Bug report

  1. Visit site settings > goals. Click + Add goal.
  2. Choose either Goal trigger.
  3. Assume the placeholder is pre-provided text. Click Add goal →.
  4. Receive 500 error.

Expected behavior

The form field for Page path or Event name should be required.

It would appear that validation in https://github.com/plausible/analytics/blob/master/lib/plausible/goal/schema.ex isn't working.

@victoriadrake victoriadrake added the bug Something isn't working label Nov 21, 2020
@ukutaht
Copy link
Contributor

ukutaht commented Nov 24, 2020

Thanks for reporting @victoriadrake !

@victoriadrake
Copy link
Author

Thank you for fixing, and for maintaining a nice product 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants