3.2.8 (2016-12-05)

Overview of merged pull requests

BUGFIX: Enable flow to send multiple http-headers of the same type

The method setHeader accepts a value or an array of values, but until now if an arrays of values was given the renderHeaders method correctly rendered a seperate header for each value but during sending the header php-method overwrote the previously send headers because the replace argument was not given and defaults to true.

  • Packages: Flow

BUGFIX: Fix calling shutdownObject() on doctrine proxy

This change fixes #613 by creating the code to also call shutdownObject() on Doctrine Proxies. The proxy generation did not took into account that in __wakeup() the current Object can be an Instance of a Doctrine Proxy and therefore did not registered the shutdownObject() method on the ObjectManager.

As stated in #613 the temporary files from Resource::createTemporaryLocalCopy() where not removed, but with this fix they will be removed as expected.

Thanks to @monofone and @hlubek for support in finding the bug and implementing the solution and tests.

  • Packages: Flow

TASK: de-corruptify old PSR-0 core migration

This changes the old core migration 20120920111200 to not cause any trouble with newer code using PSR-4.

  • Packages: Flow

BUGFIX: Redis backend should prevent iteration of duplicate entries

When setting or flushing by tag the list of entries is not correctly updated. This could also occur if an entry is expired.

This change fixes the flush by tag behaviour to correctly remove entries and adds a check into the iteration of cache entries to check for existing entries.

  • Packages: Flow

BUGFIX: Do not throw exception when concurrently unlinking files

Fixes a race condition where concurrent emptying of a directory causes errors because files were already unlinked by another process.

FLOW-283 #close FLOW-345 #close

  • Packages: Flow

BUGFIX: Adjust media types updater (and update media types)

This adjusts the media types updater script to work with the new array syntax as otherwise nothing would have been changed.

Additionally updates the media types list to add “m4a”.

  • Packages: MediaTypes

BUGFIX: Adapt the core migration manager for the new package manager

Without this change PHP can print a warning message in the CLI output: PHP Warning: Attempt to assign property of non-object in Manager.php on line 265.

This change fix access to currentPackageData[‘composerManifest’][‘extra’] to use the array syntax and not the stdClass, used by the previous package manager.

  • Packages: Flow