wardrobecms / wardrobe-archived

A minimal blogging application
http://wardrobecms.com/
MIT License
705 stars 111 forks source link

Tags can get deleted on save #15

Open ciruz opened 10 years ago

ciruz commented 10 years ago

Step 1: Create a new post and add some tags.

Step 2: Press "Publish Post" and stay on the site (editor).

(Optional: Check the tags in editor, they are empty now...)

Step 3: Change something in text (or not) and "Save Post" again.

Tags are deleted from Database.

If you check the tags in editor now, you see them, but they are not saved in the database anymore, there is just the post_id with an empty tag.

When you save the post a third time, the tags gets addded to database again.