Issue Bug Closed

#92362Bug in regular expression in FormDefinitionConversionService.php

Christian Loth 09/21/20, 16:46 updated 12/22/20, 11:05

Description

Hello,

I think I found a bug in the form sys extension in Classes/Domain/Configuration/FormDefinitionConversionService.php

There is a regular expression in line 57: (^identifier$|renderables\.([\d]+).\identifier$)

The last escape \ escapes the ‘i’ and not the ‘.’ … this triggered an error for me
in an installation with custom debugging. I think the correct regular expression should be:

(^identifier$|renderables\.([\d]+)\.identifier$)

The wrong regexp is present in both T3 v9 and v10.

A patch diff file is attached.

Reviews 3