Parent issue when making a traverser for a gradebook

Bug #250513 reported by Filip Sufitchi
2
Affects Status Importance Assigned to Milestone
CanDo
Confirmed
Wishlist
Filip Sufitchi

Bug Description

    gb = LocationProxy(gb, obj, 'gradeCompetencies')
    gb.__setattr__('__parent__', gb.__parent__) # XXX THIS IS REALLY BAD XXX

__setattr__ SHOULD NOT be used to set gb's parent to its own parent. This is needed to be done multiple times in our code.
Might be a Zope issue.

Jason Straw (jasonstraw)
Changed in cando:
assignee: nobody → fsufitch
importance: Undecided → High
milestone: none → 2008.08
status: New → Confirmed
Will Brady (wbrady4927)
Changed in cando:
status: Confirmed → In Progress
Revision history for this message
Filip Sufitchi (fsufitch) wrote :

Works for now. We are probably doing the traverser in a bad way and having to fix it in a bad way, but since it works there's no use breaking good code for now. To fix later.

Changed in cando:
milestone: 2008.08 → none
status: In Progress → Confirmed
Alan Elkner (aelkner)
Changed in cando:
importance: High → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.