Skip to content

jQuery error after ibexa experience and netgen tagsbundle upgrade #158

Description

@paulKopf

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions