badcodeltd / safecms

A powerful content management system built on top of the SAFE Network
MIT License
14 stars 5 forks source link

First time a post is created and saved at as draft the form is cleared #24

Open JPL1 opened 6 years ago

JPL1 commented 6 years ago

On creating and saving a new post to draft the default Post page is returned with Post title and Post URL fields blank.

To reproduce: Create a new subdomain. Create a post in that subdomain using Medium Editor or raw HTML. Save to draft - the form is cleared. The draft can be recovered from the Posts link and next time it is saved to draft the fields remain populated. It's just the first time it is saved that this occurs.

BadCodeShane commented 6 years ago

@JPL1 which version are you using? On the latest version I can't reproduce this error. It may be worth upgrading to a later release.

JPL1 commented 6 years ago

Version 0.0.6 on Debian 9

BadCodeShane commented 6 years ago

Ahhh, there's the problem.

This issue has been fixed in this commit: https://github.com/badcodeltd/safecms/commit/cd30a693f35742032b824f02bbc0b9f6b32c08c8 It's scheduled for 0.0.7 and hasn't made it in to a release yet. It'll be with you in the next 24 hours.

JPL1 commented 6 years ago

OK - good stuff. It's mostly working fine, just finding the odd thing or two here and there but certainly no show stoppers. It's a great app.