[BUGFIX] Improve domObjectId splitting for inline in flexform 02/48502/5
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 8 Jun 2016 11:56:15 +0000 (13:56 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 9 Jun 2016 08:54:51 +0000 (10:54 +0200)
commitdad73c9b917b08f3c82ba3800af67a4f2705cf37
tree9ba97984e29759e0cb090b6a42c4ab95db89edbe
parentc7c2aefeb43a29a93f92290f6f5b3af547f08dfd
[BUGFIX] Improve domObjectId splitting for inline in flexform

We use a regex to retrieve relevant informations for the handling
of flexform datastructures and inline records. It failed for some
use cases like deeply nested structures.
A rework of the regex and some additional unit tests stabilize
this fragile area.

Resolves: #76268
Relates: #73004
Releases: master, 7.6
Change-Id: I4f2afed7f07b3f4f0346bf7a63541e8313f7a992
Reviewed-on: https://review.typo3.org/48502
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jan Rowold <j.rowold@neusta.de>
Tested-by: Jan Rowold <j.rowold@neusta.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php