Bug in Nette\Database\Table\Selection::getReferencedTable with StaticConventions in Nette 2.3.1?

Notice: This thread is very old.
ok
Member | 10
+
0
-

Can please anybody confirm following behaviour (bug)?

When non-existent property (column) of (ActiveRow)ar->neproperty is referenced, in Nette\Database\Table\Selection::getReferencedTable StaticConventions::getBelongsToReference is called and NDB checks possible reference to joined table ar->neproperty_id. When neproperty_id does not exist either, neproperty_id_id is checked and so on and so on in an infinite loop.

Ie. It is impossible to reference non-existent column with StaticConventions – instead of expected throw of the Nette\MemberAccessException NDB loops forever.