mautic / mautic

Mautic: Open Source Marketing Automation Software.
https://www.mautic.org
Other
7.42k stars 2.64k forks source link

Not possible to add element(DWC, form...) in page builders by slot names #13552

Closed Syrgak-Alan closed 3 weeks ago

Syrgak-Alan commented 8 months ago

Mautic Version

5.0.x series

Way of installing

I cloned the Mautic repo (not recommended or supported)

PHP version

8.2.15

What browsers are you seeing the problem on?

Firefox

What happened?

The way to add DWC or form in landing page by their slot name/id is not possible. After trying to save page, appears this issue: image

How can we reproduce this issue?

Step 1: create DWC/Form Step 2: create page and try to add created component by {dwc=} or {form=} Step 3: press save

Relevant log output

500 Internal Server Error - PHP Notice - iconv(): Detected an illegal character in input string

Code of Conduct



Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.

RCheesley commented 7 months ago

Hi @Syrgak-Alan I have tested this with 5.x and I was able to insert my DWC slot name into the GrapesJS builder landing page using the editor token, and it rendered on the front-end as expected, as did a form.

Perhaps this might be related to using PHP 8.2? Have you had the same issue with 8.1? Also, which version of Mautic?

RCheesley commented 3 weeks ago

Closing due to lack of feedback. Feel free to request a re-open if it's still a bug.

github-actions[bot] commented 3 weeks ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If this issue is continuing with the lastest stable version of Mautic, please open a new issue that references this one.