Has contentlisting changed in Plone 6(1) ? @@contentlisting

In Mosaic tiles with Plone 5, I have used /@@contentlisting for both collections and folders. ( /@@contentlisting ). Now I get an error both for ${item/Title} and ${item/getObject / item.getObject() )

PS: I am not sure how to debug, since I can not 'import pdb' in fragments (unrestricted python)

UPDATE: There must be a bug somewhere, I get same errors on a fresh 6.1 site with collective.sidebar

Exception: zExceptions.NotFound: getObject

- Expression: "item/getObject"
- Filename:   collection_slider
- Location:   (line 11: col 40)
- Arguments:  template: <ZopePageTemplate at /Plone1/asdfasdf-2/collection_slider>
            here: <Document at /Plone1/asdfasdf-2>
            context: <Document at /Plone1/asdfasdf-2>
            container: <Document at /Plone1/asdfasdf-2>
            nothing: None
            options: {'args': ()}
            root: <Application at >
            request: <WSGIRequest, URL=http://ubuntu.local:8610/Plone1/asdfasdf-2/@@collective.themefragments.fragment/a2e15fe8c0644e178068f493cd1f655a>
            modules: <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x7fc31c6d2270>
            view: <collective.themefragments.traversal.FragmentView object at 0x7fc2e3a3d950>
            portal_url: 'http://ubuntu.local:8610/Plone1'
            portal: <PloneSite at /Plone1>
            user: <PropertiedUser 'admin'>
            default: <DEFAULT>
            repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7fc31869e750>
            loop: {'item': <Products.PageTemplates.engine.RepeatItem object at 0x7fc2e3a3ddb0>}
            target_language: None
            translate: <function BaseTemplate.render.<locals>.translate at 0x7fc2f010da80>
            attrs: {}
            image_size: 'preview'
            collection_items: <Collection at /Plone1/news/aggregator>
            order: 'top'
            show_text: True
            item_c: 1000
            items: <plone.app.contentlisting.contentlisting.ContentListing object at 0x7fc2f00f81a0>
            item: <plone.app.contentlisting.catalog.CatalogContentListingObject instance at /Plone1/news/copy3_of_afdsasdfa-asdf>

python:item.getObject() works?

No, cant even get title ( or item/Title if try a repeat loop in with TAL)

PS: It works on folders, but not on collections

(leaving work now, so cant check more, it looks like on folders 'the items' are returned, but on collection it returns 'something that includes the collection as well)

you can use pdb on Zope External Methods I think, so just do: my_exmethod(item) and inspect the item.

I have not had any time to 'check today', but how do I 'do that'?

PS: I wonder if this is related to Listing.pt calls getObject for every item since mosaic / themefragments does not allow 'getO
bject() (I think getObject does not work in restricted python )

Have not found a solution, so currently I have 'hacked around it by':

    query = my_collection.query
    query_dict = {q['i']: q['v'] for q in query if 'i' in q and 'v' in q}
    return self.context.portal_catalog(**query_dict)