Defect #28309

Error when query filter model inherited from other class which inherited from Query

Added by Eduard Panov over 4 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Code cleanup/refactoring
Target version:-
Resolution: Affected version:3.4.4


We have a plugin, where: MyPluginModelQuery < MyCustomClassQuery < Query
After redmine update 3.4.4 have a string
where call Query.get_subclass
where a condition subclasses.include? klass

And if my MyPluginModelQuery not a direct children of Query error raised.

My suggest: improve string for support children's any deep, for example unless klass < self

Also available in: Atom PDF