Closed (fixed)
Project:
rokka
Version:
3.0.12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2025 at 07:53 UTC
Updated:
2 Dec 2025 at 09:34 UTC
Jump to comment: Most recent
When requesting the width and height from the RokkaMetadata entity, we always get NULL back.
$metadata->setHeight(600);
$metadata->getHeight(); // Returns NULL.
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.
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