-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading a Featured image uploads it twice #3392
Comments
Incase if your using Volley api adding this retry method worked for me. this problem occur due to the api retry mechanism. |
Hi @Ipstenu, I'm not being able to reproduce this problem, could you please let me know if the problem is still happening? |
No, but now I'm getting |
This seems to happen on SOME themes and the only correlation I can find is that if your theme inserts new meta boxes. The problem is I can't reproduce this because every time I activate a theme with a meta box, the featured image upload breaks with the above error ... And it does this: I grabbed Yoast to test, but all you have to do is grab a theme like Genesis and boom, Gutenberg's blowing up again :( tl;dr: I can't test it because something broke metaboxes, which breaks featured image uploads... |
I tried with Yoast and it's working as expected, I can't reproduce. Can you point me towards a free theme breaking Gutenberg to test? Or maybe this is fixed right now? |
This still happens on StudioPress' Genesis themes. (the admin bar thing is working again though!) |
Can we get a free copy of these themes to debug? Can we reproduce with a free theme? |
I've opened a support ticket with StudioPress to ask them about that (and linked here) |
Thanks @Ipstenu for the theme but I still can't reproduce either of these two featured image bugs It might be something else, a plugin you have or something? |
That's wild... Have you tried it on an existing post? That is write some post stuff first, THEN add the image? The only thing I can think that's 'different' is that and that I use Multiste, but I repro-d it on a clean single site. |
@Ipstenu Same on an existing post. Are you using the "master" version of Gutenberg or the last released one? There might be some fixes not released yet (I recall a multisite fix) |
No, I'm using the latest released plugin version. |
Ok, we will release soon and you can test to check if it's still a bug after that. |
It should be fixed with #5432. Can you confirm? |
Issue Overview
When you add a featured image via Gutenberg, it uploads twice, leaving you with one attached to the post and one not in the media library.
Steps to Reproduce (for bugs)
Tested on Safari on a Mac
Expected Behavior
The image should only upload once.
Current Behavior
It uploads twice.
The text was updated successfully, but these errors were encountered: