#1030: quick easy bug fix for RelatedJoins in FastData
--------------------------+-------------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone:
Component: FastData | Version: 0.9a6
Severity: trivial | Keywords:
--------------------------+-------------------------------------------------
in tgfastdata/datacontroller.py...
inside _updateJoins(...)...
the line where it says... if join.hasIntermediateTable:
well, it turns out that join.hasIntermediateTable isn't a property, it's a
function that returns a boolean. So we need to add parenthesis to the end
of it like so.. if join.hasIntermediateTable():
right now it's always returning true, which isn't hurting anyone because
we're only supporting RelatedJoins.. but for people (like myself) that
are customizing it to support single and multiple joins, that bug takes a
while to track down.
if someone can let me know what the patch process is, I would be happy to
help clear some of these tickets.
-ian
icc at case dot edu
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1030>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---