function returning unexpected result

Bug #1638668 reported by Jin Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gluon
New
Undecided
Jin Li

Bug Description

In the gluon/objects/base.py file, the function get_by_parent_and_primary_key() has a confusing implementation. It has two duplicated lines which returning the primary key type of a db_model. Base on the function name, I would expect it to do something similar to the get_by_primary_key() function which return a db_model object.

Jin Li (jl7351)
Changed in python-gluon:
assignee: nobody → Jin Li (jl7351)
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.