• Resolved cjyabraham

    (@cjyabraham)


    I just upgraded the Gutenberg Plugin to v. 6.4.0 and now when I try to enter values into text boxes I created with this plugin, the value disappears as soon as I enter a value in a different text box.

    To reproduce:
    1. install the Gutenberg Plugin v. 6.4.0
    2. create a CPT that uses Post Meta Controls that has more than one text box
    3. create a new instance of the CPT and enter text in one of the boxes
    4. now enter text in another text box and you’ll see the text in the first box immediately disappear

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author Alvaro

    (@melonpan)

    Thanks for the report @cjyabraham.

    I’ll take a look into this as soon as I can and answer back here.

    Thread Starter cjyabraham

    (@cjyabraham)

    Hi,
    Are there any updates on this?
    Chris

    Thread Starter cjyabraham

    (@cjyabraham)

    Can I get access to your source code so I can try and fix this myself?

    Thread Starter cjyabraham

    (@cjyabraham)

    I just upgraded to Gutenberg plugin 6.5.0 to see if that fixed things. It produces a different error. When I add a meta entry, save the post, then change the meta entry, I get: “Updating failed. Error message: Could not update meta value in database.” Funnily, the meta value does get saved. This error is not shown, however, when using Gutenberg plugin 6.3.0.

    Can we pay you to fix this or can you send us the source?

    Chris
    [email protected]

    Plugin Author Alvaro

    (@melonpan)

    Hi @cjyabraham, I missed your last messages (didn’t get notification of them).

    Next WordPress version (5.3) is planned to be released on November 12, which will include the latest Gutenberg version I presume.

    I’ll be working on this now and see if I can release a new version for next week. I’ll also add the code base to GitHub and share the link.

    álvaro.

    Thread Starter cjyabraham

    (@cjyabraham)

    Thanks álvaro,
    For what it’s worth, I haven’t been able to find a good replacement for what your plugin does, so I would say that it’s worth keeping it up-to-date. I’m surprised more people aren’t using it.

    Yes, WP 5.3 is due to include Gutenberg 6.5.0 which, as I note above, has some issues with your plugin. So it would be good to get it working now.

    Again, thanks for your work and I’ll look out for updates.

    Chris

    Plugin Author Alvaro

    (@melonpan)

    Hi Chris, I’m glad you find the plugin useful. If you have the time please remember to rate it so others can also find out about it.

    I’m trying to reproduce this issue now, but I’m not able. Are you using meta data_type? Could you share the code of the problematic setting?

    Thanks,
    álvaro

    Thread Starter cjyabraham

    (@cjyabraham)

    Hi álvaro,
    I’ll be happy to write a review as soon as we get this working again.

    Yes, we are using “meta” data type. Here is the start of the code that is our configuration:
    https://github.com/LF-Engineering/lfevents/blob/master/web/wp-content/mu-plugins/custom/lfevents/admin/class-lfevents-admin.php#L288

    Thanks,
    Chris

    Plugin Author Alvaro

    (@melonpan)

    Ok, thanks Chris.

    Release is almost ready but I found an inconsistency in the Gutenberg plugin with its previous version. I’ll report the issue and see if I can make a release then.

    Plugin Author Alvaro

    (@melonpan)

    I tried reproducing the issue but couldn’t, check this gif to see if I understood correctly.

    Maybe there is a conflict with some other plugin?

    Thread Starter cjyabraham

    (@cjyabraham)

    Hi álvaro,
    I performed what you did in your gif and got exactly what you did. After performing your steps, however, set one of the values to something else and click “Update”, then you should see this error and the new values won’t save.

    Chris

    Plugin Author Alvaro

    (@melonpan)

    Now I got it. There seems to be some issues between Gutenberg and the Rest API. I opened an issue already and will wait until its confirmed before releasing.

    Thread Starter cjyabraham

    (@cjyabraham)

    Ok, cool. So the issue is in the Gutenberg plugin? Do you have a workaround?

    Plugin Author Alvaro

    (@melonpan)

    There are two related issues.

    The first issue is with multiple meta. I submitted it to the Gutenberg team. Lets see if it can be confirmed.

    The second one comes from images saving empty values. The issue you noted comes from the image type when it is saved with no value. I already made a workaround to solve it, although it could be related to the Gutenberg-Rest issue (so if those are solved there might be no need for the patch).

    I’ll keep you updated.

    Thread Starter cjyabraham

    (@cjyabraham)

    Any updates on this? If you have a patch, can you release it? I’d like to get back on the latest version of the Gutenberg plugin.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘no longer works with Gutenberg Plugin v. 6.4.0’ is closed to new replies.