[BUGFIX] Improve domObjectId splitting for inline in flexform 18/48518/4
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 09:43:51 +0000 (11:43 +0200)
commit7d68733650ba6b4bb5bc96dc570c213a402f3986
treededa89e1ed934db99393713b0df5f689b7cfaf1d
parent452acbd1dc84ef93442d657492a0aea1f9da5d3c
[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/48518
Reviewed-by: ToM <mail@interactive-values.at>
Tested-by: ToM <mail@interactive-values.at>
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