Problem/Motivation
When requesting the width and height from the RokkaMetadata entity, we always get NULL back.
Steps to reproduce
$metadata->setHeight(600);
$metadata->getHeight(); // Returns NULL.
Proposed resolution
It looks like the bug is in retrieving the values from the Field API using $width = $this->get('width')->getValue() which returns the typed data properties, not the actual value as a scalar.
Issue fork rokka-3558429
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pfrenssen