Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

When editing an existing post, errors in the slug do not appear but you get "can not save the changes now" #92

Open
callingmybluff opened this issue Jun 22, 2018 · 1 comment
Labels

Comments

@callingmybluff
Copy link

callingmybluff commented Jun 22, 2018

Summary

So when you are making changes to an existing draft, mistakes in the "slug" prevent saving he changes, and the user get a vague message.

Steps to Reproduce

  1. Make a draft, and set a slug to it.
  2. Save the changes.
  3. Change the "slug" to something invalid, like: "2018" (not allowed as it starts with a number).
  4. Try saving the changes
  5. You will get "Your changes could not be saved at this time" instead of the more specific: "Slug must start with a letter ... etc".

Additional info

  • Postleaf version: 1.0
  • Node version: 7.10.1
  • Affected browsers: Chrome
  • Operating system: Debian 8 (host) vs. Windows (Browser)

Note: This issue tracker is ONLY for bug reports and feature requests. If this is a personal support issue, please visit postleaf.org/support.

@claviska claviska added the Bug label Jun 23, 2018
@claviska
Copy link
Member

Confirmed. It looks like we're not handling the validation error from the post model.

I'll leave this open until I can get to it, or feel free to submit a PR instead :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants