Skip to content

dbconfig is excluding the wrong protected attribute properties

With respect to this code block: line 207 checks whether prop is in attr_props. Probably the author intended to check whether prop is in attr_props as originally defined on line 195. But actually, attr_props is redefined in every iteration of the for loop, on line 201, so I think this check is actually only including protected attribute properties that are also defined on the previous attribute.

Edited by Drew Devereux