Skip to content

fix CatalogLinkPluginBase if used with stride#804

Open
haricot wants to merge 2 commits into
awesto:masterfrom
haricot:patch-17
Open

fix CatalogLinkPluginBase if used with stride#804
haricot wants to merge 2 commits into
awesto:masterfrom
haricot:patch-17

Conversation

@haricot

@haricot haricot commented Apr 14, 2020

Copy link
Copy Markdown
Contributor

related jrief/djangocms-cascade#376
typeError: super(type, obj): obj must be an instance or subtype of type

[2020-04-14 06:45:54,625 log] ERROR: Internal Server Error: /en/admin/cms/page/plugin/cascade_clipboard_plugin/import-plugins/
Traceback (most recent call last):
  File "/.cache/pypoetry/virtualenvs/my-shop-guMgNwqw-py3.8/lib/python3.8/site-packages/django/template/base.py", line 829, in _resolve_lookup
    current = current[bit]
TypeError: 'BootstrapImagePluginElement' object is not subscriptable

...
  File "/.cache/pypoetry/virtualenvs/my-shop-guMgNwqw-py3.8/lib/python3.8/site-packages/django/template/base.py", line 837, in _resolve_lookup
    current = getattr(current, bit)
  File "/.cache/pypoetry/virtualenvs/my-shop-guMgNwqw-py3.8/src/djangocms-cascade/cmsplugin_cascade/link/plugin_base.py", line 68, in link
    return self.plugin_class.get_link(self)
  File "/.cache/pypoetry/virtualenvs/my-shop-guMgNwqw-py3.8/src/django-shop/shop/cascade/plugin_base.py", line 109, in get_link
    return super().get_link(obj) or link_type
TypeError: super(type, obj): obj must be an instance or subtype of type

haricot added 2 commits April 14, 2020 08:46
typeError: super(type, obj): obj must be an instance or subtype of type
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

Successfully merging this pull request may close these issues.

1 participant