[BUGFIX] Translation of a form makes the form wizard unusable 96/12996/9
authorMario Rimann <mario.rimann@typo3.org>
Tue, 15 Jan 2013 09:20:27 +0000 (10:20 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Mar 2013 21:43:49 +0000 (22:43 +0100)
commit338cf5b61b98ef3637269e1200b1fdd78fe62cbc
tree582b3a1dc09664c7412750f6b825a392c28af181
parent76ec357369a460f35b16b65f32773f421859d903
[BUGFIX] Translation of a form makes the form wizard unusable

As soon as the form-configuration for the form wizard gets
loaded, the leading "[Translate to XYZ:] " is stripped off to get the
wizard working (with the leading text, the form config could not
be serialized as needed and the wizard didn't show a single field).

The stripping is only done on localized records.

Change-Id: I0cab1d371abf5ae01b524c39acedcd1a3a5db9c4
Fixes: #39127
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/12996
Tested-by: Mario Rimann
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/form/Classes/Domain/Repository/ContentRepository.php