Hello. Behavior works perfectly. Thanks. But in views i use getUploadedFileUrl() for displaying image url but it always returns null. I checked sources and have found these lines:
if (!$this->owner->{$attribute})
return null;
When I comment these lines - all works. For what this condition?
Hello. Behavior works perfectly. Thanks. But in views i use
getUploadedFileUrl()
for displaying image url but it always returnsnull
. I checked sources and have found these lines:When I comment these lines - all works. For what this condition?