Open swicken-dotcms opened 1 year ago
I tried on demo after setting the focal point I tried to get metadata through velocity. It is returning metadata but no information related to a focal point.
$meta.metaData
{path=4/7/47afe703-3add-4718-a2f5-383301e1ae82/fileAsset/rain-forest-view.jpg, modDate=1662031474141, isImage=true, sha256=a0b12eac5c1ba0729caf978b5e51f23ad3088264eaccf4bda78f3b104dcc0606, fileSize=125562, length=125562, name=rain-forest-view.jpg, width=6000, title=rain-forest-view.jpg, version=20220201, contentType=image/jpeg, height=4000, keys=[path, modDate, isImage, sha256, fileSize, length, name, width, title, version, contentType, height, keys, map], map={path=4/7/47afe703-3add-4718-a2f5-383301e1ae82/fileAsset/rain-forest-view.jpg, modDate=1662031474141, isImage=true, sha256=a0b12eac5c1ba0729caf978b5e51f23ad3088264eaccf4bda78f3b104dcc0606, fileSize=125562, length=125562, name=rain-forest-view.jpg, width=6000, title=rain-forest-view.jpg, version=20220201, contentType=image/jpeg, height=4000}}
Customer hitting this: https://dotcms.zendesk.com/agent/tickets/109218
set($meta = $dotcontent.find("focal point applied inode image"))
$meta.metaData
I think the way to recover the meta is
#set($meta = $dotcontent.find("a3f2f0457212e070c6b055c2acb13f6b"))
$meta
$meta.asset
$meta.asset.meta
Even after the focus point is being set, the metadata still being able to be recovered However I do not see the focus point info in the metadata
After sometime research and testing, we havent return ever the focus point on the meta, it looks such as a feature request instead of a bug report In order to retrieve it you can do
focal point X: $meta.asset.getFpx()
focal point y: $meta.asset.getFpy()
Describe the bug When you add a focal point to an image in the editor and save/publish, the metadata tab switches to saying 'No Values'
Reproduced on: 22.08
To Reproduce
Expected behavior Metadata should not be impacted by the addition of a focal point. I've tried resetting the cache to no avail.