You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewTDBMException('PropertyDescriptor of class `' . get_class($descriptor) . '` cannot be serialized.');
@@ -284,6 +292,9 @@ private function getBeanPropertyDescriptor(string $column): AbstractBeanProperty
284
292
if ($descriptorinstanceof ScalarBeanPropertyDescriptor && $descriptor->getColumnName() === $column) {
285
293
return$descriptor;
286
294
}
295
+
if ($descriptorinstanceof ObjectBeanPropertyDescriptor && in_array($column, $descriptor->getForeignKey()->getUnquotedLocalColumns(), true)) {
296
+
return$descriptor;
297
+
}
287
298
}
288
299
thrownewTDBMException('PropertyDescriptor for `'.$this->table->getName().'`.`' . $column . '` not found in `' . $this->foreignBeanDescriptor->getTable()->getName() . '`');
0 commit comments