Ticket #13737 (new Bug)

Opened 3 years ago

plone.app.iterate: getReferences method does not exist on Dexterity objects even with IReferanceable behaviour

Reported by: root@… Owned by:
Priority: minor Milestone: 4.x
Component: Unknown Version: 4.3
Keywords: dexterity Cc:

Description

I am trying to use the @@iterate_diff on a Dexterity 'Document (Page)' item but an error occurs that I am unable to figure out.

On line 21 getReferences is called on  https://github.com/plone/plone.app.iterate/blob/master/plone/app/iterate/browser/diff.py#L21

getReferences is not a method on self.context. Inside my ZMI I have added plone.app.referenceablebehavior.referenceable.IReferenceable as a behaviour.

Version pins: plone.app.iterate = 2.1.10 plone.dexterity = 2.1.2 plone.app.dexterity = 2.0.7

Any info would be appreciated.

Note: See TracTickets for help on using tickets.