From 2d0561a479dc87e316cf1bf90ba23a3bfd5360f1 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Tue, 5 Mar 2019 08:33:35 +0000 Subject: [PATCH] TASK: Add changelog for 4.1.13 See https://jenkins.neos.io/job/neos-release/187/ --- .../Appendixes/ChangeLogs/4113.rst | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Neos.Neos/Documentation/Appendixes/ChangeLogs/4113.rst diff --git a/Neos.Neos/Documentation/Appendixes/ChangeLogs/4113.rst b/Neos.Neos/Documentation/Appendixes/ChangeLogs/4113.rst new file mode 100644 index 00000000000..61e9d9f09b2 --- /dev/null +++ b/Neos.Neos/Documentation/Appendixes/ChangeLogs/4113.rst @@ -0,0 +1,44 @@ +`4.1.13 (2019-03-05) `_ +================================================================================================ + +Overview of merged pull requests +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +`BUGFIX: Improve performance in findOneByResourceSha1 `_ +----------------------------------------------------------------------------------------------------------------------- + +AssetRepository::findOneByResourceSha1 forced case innsensitivity on the +SHA1 hash of the resource, so the query builder uses MySQL "LOWER" +function in its generated query, and as such the index cannot be used +in the intended way. Now we are just relying on sha1 to create lower +cased hash values. + +* Packages: ``Media`` + +`BUGFIX: Improve performance in assetCollection operations `_ +---------------------------------------------------------------------------------------------------------------------------- + +This changes how it is checked if an asset is contained +in an asset collection in order to improve performance. + +It changes the complexity of O(n) while n is the amount of assets in an asset collection to O(n) where n is the amount of collections of an asset with the assumption that an asset has far less collections than a collection has assets. + +close #2375 + +* Packages: ``BaseMixins`` ``Media`` ``Neos`` + +`BUGFIX: Avoid server-error when invalid/deleted identifiers are passed to the node service `_ +------------------------------------------------------------------------------------------------------------------------------------------------------------- + +When invalid node-identifiers, are passed to the node-service it mapped the list of identifier to the getNodeByIdentifier call, which rightly returned null. This is triggered especially in the LinkEditor when nodes are referenced that have been deleted in the meantime. + +Since the result was not filtered the list containing a mix of null-values and nodeInterfaces is passed to the template of the nodeService where an error is triggered inside the `neos:node.closestDocument` view helper. + +This error in turn triggers the ui showing a red error box with the html content of the server-error that confused editors and is not helpful at all. + +The fix applies array_filter to the nodes array to avoid passing `null` nodes to the template. + +* Packages: ``Neos`` + +`Detailed log `_ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~