Ticket #8737 (closed Bug: fixed)

Opened 8 years ago

Last modified 7 years ago

AttributeError: getRefs with plone.app.iterate 1.2.2 on plone site root

Reported by: vincentfretin Owned by:
Priority: major Milestone: 3.3
Component: Working copy support (Iterate) Version:
Keywords: Cc: nouri


Hey nouri,

sorry to disturb you, but I have the following error "AttributeError: getRefs" with plone.app.iterate 1.2.2. It happens only on the Plone Site root.

Possible lead, in version 1.1.5, The context.getReferences method was used, now in 1.2.2, it's context.getRefs. I don't know if there is a difference.

Change History

comment:1 Changed 8 years ago by vincentfretin

I changed to getReferences, AttributeError too. So for now I use:

def is_checkout(self):

context = aq_inner(self.context)

if hasattr(context, 'getRefs'):

refs = context.getRefs(WorkingCopyRelation.relationship)

if len(refs):

return True


return False


return False

Do you have a better solution?

comment:2 Changed 8 years ago by nouri

  • Status changed from new to closed
  • Resolution set to fixed

It's fixed in 1.2.3. Don't you dare to submit another bug report!!

(Just kidding... ;-)

comment:3 Changed 7 years ago by hannosch

  • Milestone changed from 3.x to 3.3
Note: See TracTickets for help on using tickets.