Publish button does nothing, deletes what's in editor, but then posts article multiple times
tess3 opened this issue · 0 comments
one of our paid authors (https://blogchain.app/id/kehindefagbule) who tried publishing, but clicking the publish button does nothing except wipe the text on the editor. after trying multiple times with the same results, they later saw that it had posted multiple times. we had someone at nearcon bring up the same issue (publish button does nothing but post then is published more than once)
Jack's comments on this: One thing with debugging these scenarios when a post isn't publishing is there are so many different reasons it may not be posting. Usually they'll see a toast message with an error (ex: missing title) which should be obvious. There could be less obvious reasons and for these it'd be super helpful to ask the author if there are any console errors showing when this happens. If not, it could take hours or days to replicate the error. For a post sending twice, there is a check in place on the frontend that prevent a post being sent twice from the post button being spammed. I moved the draft reset logic here that possibly fixes it: https://github.com/capsulesocial/capsule-vue/pull/1170/files