confirmed
I'll fix this.
In the meantime, you can bypass this issue passing owner
via behavior config:
public function behaviors()
{
return [
'typecast' => [
'class' => AttributeTypecastBehavior::className(),
'owner' => $this, // pre-fill owner
],
];
}
Resolved by commit d4df72a2a4d83ce2f4ae4fef4ca252834d6a319b
Most helpful comment
Resolved by commit d4df72a2a4d83ce2f4ae4fef4ca252834d6a319b