ServerPress / sync-gutenberg-blocks

WPSiteSync for Gutenberg Blocks
3 stars 1 forks source link

Atomic Blocks > AB Profile Box > Block error in Target site when an image is added #54

Closed erinmarinas closed 5 years ago

erinmarinas commented 5 years ago

STEPS TO REPRODUCE:

  1. Install WPSS, WPSS for GB and Atomic Blocks v2.1.0
  2. Create a page and insert AB Profile Box
  3. Insert an image as the profile picture
  4. Save and sync

RESULT:

"This block contains unexpected or invalid content" in Target page Note: This message does not appear if the block has been turned into a shared block

EXPECTED RESULT:

No errors

davejesch commented 5 years ago

It looks like this is happening to a Post without performing a Push at all.

Please try the following:

Note the addition of the <figure> tag.

If you Push the newly created Post with the <figure> tag added, it appears to be fine on the Target site.

So this looks to me like a data migration issue, i.e. Atomic Blocks v2.1.0 does not migrate the Block data after upgrading. This does not appear to be an issue with our code.

erinmarinas commented 5 years ago

Not a WPSS issue.