Skip to content
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

jQuery error after ibexa experience and netgen tagsbundle upgrade #158

Open
paulKopf opened this issue Jul 26, 2023 · 0 comments
Open

jQuery error after ibexa experience and netgen tagsbundle upgrade #158

paulKopf opened this issue Jul 26, 2023 · 0 comments

Comments

@paulKopf
Copy link

Versions:
ibexa/experience: 4.5.0,
netgen/tagsbundle: 5.0.5

After upgrading our Project to ibexa experience 4.x and netgen tagsbundle we get the following jQuery error when we edit an article:

caught ReferenceError: jQuery is not defined
    at ibexa-admin-ui-content-edit-parts-js.js:10217:3
    at ./vendor/netgen/tagsbundle/bundle/Resources/public/admin/js/fieldType/eztags.js (ibexa-admin-ui-content-edit-parts-js.js:10221:3)
    at __webpack_require__ (runtime.js:23:42)
    at __webpack_exec__ (ibexa-admin-ui-content-edit-parts-js.js:10227:48)
    at ibexa-admin-ui-content-edit-parts-js.js:10228:3800
    at webpackJsonpCallback (runtime.js:152:39)
    at ibexa-admin-ui-content-edit-parts-js.js:1:53
(anonymous) @ ibexa-admin-ui-content-edit-parts-js.js:10217
./vendor/netgen/tagsbundle/bundle/Resources/public/admin/js/fieldType/eztags.js @ ibexa-admin-ui-content-edit-parts-js.js:10221
__webpack_require__ @ runtime.js:23
__webpack_exec__ @ ibexa-admin-ui-content-edit-parts-js.js:10227
(anonymous) @ ibexa-admin-ui-content-edit-parts-js.js:10228
webpackJsonpCallback @ runtime.js:152
(anonymous) @ ibexa-admin-ui-content-edit-parts-js.js:1

In webpack.config.js we used Encore.autoProvidejQuery(). As far as I understand, this should actually prevent this kind of errors.

Actually this seems not to break any functionallity of articles. But, we have no preview in page builder. I am not sure if it is caused by this error.

According to the Ibexa slack we are not alone with this issue (https://ezcommunity.slack.com/archives/C032PD5N9UY/p1683020263526259?thread_ts=1681827394.595569&cid=C032PD5N9UY).

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant