dingoblog / dingo

Blog engine written in Go
MIT License
284 stars 37 forks source link

New Post can't be saved #19

Closed nak3 closed 8 years ago

nak3 commented 8 years ago

From Web UI,

Posts->+(Add)->SAVE doesn't work. No answer from browser, although console outputs the access The 2016/04/29 - 19:49:24 | 400 | 627.657µs | ::1 | POST /admin/editor/post/. I tested Firefox 44.0 and Chrome 48.0.2564.103.

As far as I tested, the issue happened between these commits:

commit 48d6cca055bfea7729329c6dea5b7448fc71c5f2 worked well. commit 33dc9a5a40121edba8d8a2d60d61a58fe4a79747 doesn't work.

dinever commented 8 years ago

Thanks. Will take a look at this.

dinever commented 8 years ago

Seems that this is because the user didn't input anything in the slug field, the server responded with an error message but the JS didn't pop up an error notification.

Will fix this in the new admin UI.

nak3 commented 8 years ago

@dinever I think we can close this issue, thanks to the new amin UI.

dinever commented 8 years ago

Thanks @nak3!