Has there been changes in 'listing view' lately?
Even if I add 'nothing' but the basic, I get error (I have the same code running on older sites)
<metal:content-core fill-slot="content-core">
<metal:block use-macro="context/@@listing_view/macros/content-core">
<metal:entries fill-slot="entries">
<metal:block use-macro="context/@@listing_view/macros/entries"
tal:define="portal context/@@plone_portal_state/portal">
<metal:entry>
</metal:entry>
</metal:block>
2022-03-31 17:39:58,354 ERROR [Zope.SiteErrorLog:252][waitress-2] 1648748398.3522390.7745721943346037 http://10.0.0.159:8080/flaktveitik/test/materiell-view
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 371, in publish_module
Module ZPublisher.WSGIPublisher, line 266, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 63, in call_object
Module zope.browserpage.simpleviewclass, line 41, in __call__
Module Products.Five.browser.pagetemplatefile, line 126, in __call__
Module Products.Five.browser.pagetemplatefile, line 58, in __call__
Module zope.pagetemplate.pagetemplate, line 133, in pt_render
Module Products.PageTemplates.engine, line 378, in __call__
Module z3c.pt.pagetemplate, line 176, in render
Module chameleon.zpt.template, line 302, in render
Module chameleon.template, line 215, in render
Module chameleon.utils, line 53, in raise_with_traceback
Module chameleon.template, line 192, in render
Module 7f6af558f491310ac86847c12e5b0fba, line 312, in render
Module 0fe80a2e89471ef04d440355f0ce09a6, line 860, in render_master
Module 0fe80a2e89471ef04d440355f0ce09a6, line 1489, in render_content
Module 7f6af558f491310ac86847c12e5b0fba, line 297, in __fill_content_core
Module 7f6af558f491310ac86847c12e5b0fba, line 196, in render_content_core
Module b2681562205373b160f4f0579ca041fc, line 118, in render_content_core
Module b2681562205373b160f4f0579ca041fc, line 217, in render_text_field_view
Module zope.tales.expressions, line 250, in __call__
Module Products.PageTemplates.Expressions, line 217, in _eval
Module zope.tales.expressions, line 153, in _eval
Module Products.PageTemplates.Expressions, line 133, in trustedBoboAwareZopeTraverse
Module zope.traversing.adapters, line 156, in traversePathElement
- __traceback_info__: (<Products.Five.browser.metaconfigure.SimpleViewClass from /home/espen/github_projects/medialog.materiellbestilling/src/medialog/materiellbestilling/views/materiell_view.pt object at 0x7fd4032e50a0>, 'text')
Module zope.traversing.adapters, line 61, in traverse
- __traceback_info__: (<Products.Five.browser.metaconfigure.SimpleViewClass from /home/espen/github_projects/medialog.materiellbestilling/src/medialog/materiellbestilling/views/materiell_view.pt object at 0x7fd4032e50a0>, 'text', [])
zope.location.interfaces.LocationError: zope.location.interfaces.LocationError: (<Products.Five.browser.metaconfigure.SimpleViewClass from /home/espen/github_projects/medialog.materiellbestilling/src/medialog/materiellbestilling/views/materiell_view.pt object at 0x7fd4032e50a0>, 'text')
- Expression: "view/text"
- Filename: ... .egg/plone/app/contenttypes/browser/templates/listing.pt
- Location: (line 15: col 23)
- Source: tal:define="text view/text"
^^^^^^^^^
- Expression: "context/@@listing_view/macros/content-core"
- Filename: ... src/medialog/materiellbestilling/views/materiell_view.pt
- Location: (line 13: col 24)
- Source: ... use-macro="context/@@listing_view/macros/content-core">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Expression: "provider:plone.abovecontentbody"
- Filename: ... egg/Products/CMFPlone/browser/templates/main_template.pt
- Location: (line 94: col 70)
- Source: ...
^
- Expression: "context/@@main_template/macros/master"
- Filename: ... src/medialog/materiellbestilling/views/materiell_view.pt
- Location: (line 6: col 21)
- Source: ... tal:use-macro="context/@@main_template/macros/master"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Arguments: template: <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fd40289a520>
options: {}
args: ()
nothing: None
modules: <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x7fd419d0e130>
request: <WSGIRequest, URL=http://10.0.0.159:8080/flaktveitik/test/materiell-view>
view: <Products.Five.browser.metaconfigure.SimpleViewClass from /home/espen/github_projects/medialog.materiellbestilling/src/medialog/materiellbestilling/views/materiell_view.pt object at 0x7fd4032e50a0>
context: <Folder at /flaktveitik/test>
views: <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fd40295e520>
here: <Folder at /flaktveitik/test>
container: <Folder at /flaktveitik/test>
root: <Application at >
traverse_subpath: []
user: <PropertiedUser 'admin'>
default: <DEFAULT>
repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7fd4035eac40>
loop: {}
target_language: None
translate: <function BaseTemplate.render.<locals>.translate at 0x7fd403060c10>
macroname: 'master'
attrs: {}