﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25910	Model constructors accept read-only property names	Joshua Phillips	nobody	"A model's constructor uses left-over keyword arguments (that weren't matched to fields) to set properties on the model instance. If the property's setter raises AttributeError (e.g. if it's a read-only property), that exception is ignored. This can lead to bugs when, for example, a field is changed to a property of the same name.

It looks like this behaviour (from 2007) might be unintentional: the try...except looks like it's only supposed to catch the AttributeError from getattr, not from the following settattr.

Fixing this is backwards-incompatible, but trying to set a read-only property in this way is most probably a bug anyway."	Bug	closed	Database layer (models, ORM)	1.9	Normal	fixed	model db		Accepted	1	0	1	0	0	0
