magento / magento2-page-builder

Magento2 PageBuilder
Other
75 stars 57 forks source link

After update from 2.2.2 to 2.2.3 only html code is displayed #824

Open dtavieres opened 1 year ago

dtavieres commented 1 year ago

Preconditions (*)

  1. from 2.2.2 to 2.2.3 error
  2. downgrading to 2.2.2 OK Magento 2.4.4

    Steps to reproduce (*)

  3. composer update page builder from 2.2.2 to 2.2.3

Expected result (*)

  1. [Screenshots, logs or description]
  2. image

Actual result (*)

  1. [Screenshots, logs or description]
  2. image
m2-assistant[bot] commented 1 year ago

Hi @dtavieres. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


alpacode-pmakowski commented 1 year ago

Same here, its looks like there is also problem with requirejs-config.js file where vimeoWrapper is called but no file well assigned for this module name, here is it:

2.2.2 image

2.2.3 image

I'm assuming it does break a row preview incl all other elements inside when ROW is a parent. For now just downgraded module to 2.2.2

alpacode-pmakowski commented 1 year ago

It seems problem is when Magento CE 2.4.4 is installed and PageBuilder 2.2.3 - 'vimeoWrapper', 'vimeo' were moved to Magneto base repositry into module theme but its exists in version 2.2.5. So upgrade Magento to 2.2.5 version should solve a problem as well.

dtavieres commented 1 year ago

magento/module-page-builder:2.2.5 doesn't exist or it isn't available.

dtavieres commented 1 year ago

Good morning same problem with magento 2.4.5 and magento/page-builder 1.7.2 Page Builder metapackage

alpacode-pmakowski commented 1 year ago

@dtavieres have you tried magento 2.4.5 and PageBuilder 2.2.3? They moved js vimeo-wrapper and player file from PB to master Magento package (2.2.5) so it should work fine with PB 2.2.3.

For now in my case i just created a custom module to temporary fix PB in magento 2.4.4 to handle missing js files: vimeo/player and vimeo/vimeo-wrapper. Took it right from magento 2.2.5 repo and created requirejs-config.js file.

Good luck!

dtavieres commented 1 year ago

Magento 2.4.5 uses page builder 1.7.2. no compatible with 2.2.3.

alpacode-pmakowski commented 1 year ago

Magento 2.4.5 uses page builder 1.7.2. no compatible with 2.2.3.

Oh that's wired, haven't know that. So only way is to fix it as i described above - by custom module to cover missing js files.

dtavieres commented 1 year ago

This is the problem,

image