* Check if _prototype is set in type.properties before appending proto clauses to queries.
This commit is contained in:
parent
9a6757f75b
commit
33d59c0c59
1 changed files with 1 additions and 1 deletions
|
@ -946,7 +946,7 @@ public final class Relation {
|
|||
|
||||
// extensions should never be null for extension- and
|
||||
// extended prototypes. nevertheless we check it here
|
||||
if (extensions != null) {
|
||||
if (extensions != null && protoField != null) {
|
||||
q.append(prefix);
|
||||
otherType.appendCondition(q, protoField, extensions);
|
||||
prefix = " AND ";
|
||||
|
|
Loading…
Add table
Reference in a new issue