`7.3.6 (2022-07-15) `_ ============================================================================================== Overview of merged pull requests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `BUGFIX: Fusion Array.keys() on null if documentNode doesnt exist in GlobalCacheIdentifiers `_ ------------------------------------------------------------------------------------------------------------------------------------------------------------- https://neos-project.slack.com/archives/C050C8FEK/p1657807863902929 For example when using Fusion in an ajax request, with cache enabled - but no documentNode provided as context, then the calculation of the GlobalCacheIdentifiers fails due to the Eel helper beeing incorrectly used. * Packages: ``Neos`` `BUGFIX: Check for Imagick in DocumentThumbnailGenerator `_ -------------------------------------------------------------------------------------------------------------------------- The ``DocumentThumbnailGenerator`` will now (again) check for Imagick being the configured driver in ``canRefresh()``. If the ``imagick`` PHP extension is available and should be used even though Imagick is _not_ the driver for Imagine, a new feature flag can be turned on: ```yaml Neos: Media: thumbnailGenerators: Neos\\Media\\Domain\\Model\\ThumbnailGenerator\\DocumentThumbnailGenerator: # if set, the DocumentThumbnailGenerator will be used when possible, even if the # used Imagine driver would usually prohibit it's use (because GD doesn't do PDF) overrideImagineDriverCheck: true ``` If reading the source fails without an exception, an exception is raised and passed on from the ``refresh()`` method. This e.g. happens when the security policy of ImageMagick denies reading PDF files. * See: `#3678 `_ **Review instructions** To have ImageMagick deny reading of PDF, as is needed to check this, the policy must be changed to include - the policy is usually in a place like ``/etc/ImageMagick-6/policy.xml`` - for Local Beach it's inside the ``php`` container in ``/opt/flownative/php/build/extensions/imagick/policy.xml``. To be able to edit it, you must use ``docker exec -u root -it yourproject_php /bin/bash`` to become ``root`` inside the container. * Packages: ``Media.Browser`` ``Media`` `BUGFIX: Adds missing documentation `_ ----------------------------------------------------------------------------------------------------- In Neos 7.0 we introduced the ``PropertyValue`` filter for node migrations. With this change, we extend the documentation as well. **Review instructions** Please proofread the documentation change. * Packages: ``Neos`` `TASK: Continue on error in ThumbnailGeneratorStrategy `_ ------------------------------------------------------------------------------------------------------------------------ This makes the ``ThumbnailGeneratorStrategy`` continue with the next available thumbnail generator in case ``refresh()`` failed. This allows for a "fallback" to be used in case thumbnail generation fails. Errors are logged to aid with debugging and if all generators fail another separate error is logged. See `#3678 `_ for some background info. **Upgrade instructions** **Review instructions** * Packages: ``Media`` `TASK: Equalize indentation of Neos.Fusion:Match example in docs `_ ---------------------------------------------------------------------------------------------------------------------------------- - spaces and tabs were mixed up - came up while working on the neos fusion plugin for vscode No code changes. * Packages: ``Neos`` `Detailed log `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~