2.1.7 (2016-05-09)

Overview of merged pull requests

BUGFIX: Incompatible constructor in Video model

The Video model has an incompatible constructor as the Asset model require a $resource argument. This change adds the argument to the constructor and adds a test to prevent regressions.

  • Packages: Media

BUGFIX: Exclude initialize*Actions from Testing Policy

We should always exclude initialize*Actions from method policy matchers and this didn’t happen in the Testing Policy.yaml. For unit and functional tests this does not pose a big problem but behat tests fail when trying to call the backend login for example.

  • Packages: Neos

BUGFIX: WorkspacesController uses NodeJsonView

When requesting workspace data in JSON format from the WorkspacesController null would be returned, since the controller was configured to use the NodeJsonView.

This adds the missing WorkspaceJsonView and configures it to be used.

  • Packages: Neos

BUGFIX: Editing asset collection

Prevents an exception thrown while property mapping for the title constructor parameter.

  • Packages: Media TYPO3CR

BUGFIX: Free index space at target position if no free index space is available

If a node is inserted at a given position between nodes and no free sorting index is available, the sortindices on that level are renumbered. The previous code for that could lead to unexpected node reordering and sortingindex value escalation if workspaces or dimensions were used.

The following steps reproduce the error: * In dimension A create nodes between other nodes until there are no free sortindices available * Create a variant of those nodes in dimension B * In dimension B add a new node in a place where no free sort index is available

Since the previous code is only repositioning one item of a given index and does not take workspaces and dimensions into account this results in the following unwanted effects: * Unwanted reordering of the nodes in dimension A * In dimension B two nodes with identical sortingindex occur which makes the order of the nodes random * If this is repeated multiple times the sorting indices in dimension A escalate quickly to very high values

This patch resolves this behavior by freeing index space at the target position instead of renumbering the whole level by modifying all nodes on the given path and incrementing all sort indices above the reference position a consistent behavior across workspaces and dimensions is ensured.

  • Packages: Neos TYPO3CR

BUGFIX: Backend fails to load due to RequireJS timeout

On slow internet connections in combination with large documents it can happen that the inspector editors and Aloha timeout while loading. This is solved by increasing the default timeout from 7 seconds to 30.

  • Packages: Neos