Review 10.4 Merged

69200[BUGFIX] Define missing fieldChangeFunc property

Christian Kuhn CR +2 V +2 Easy +1 −0 updated 05/20/21, 21:08

Commit message

The composer proposal view is using FormEngine
to render the composer.json content with t3editor.

Therefore, a "fake" TCA is prepared. In case, EXT:t3editor
is not installed, FormEngine automatically falls back to
TextElement. Unlike t3editor, this element requires
the property `fieldChangeFunc` to be set and will
otherwise trigger a PHP warning while calling implode()
on it.

The PHP warning is fixed by defining the property in
the fake TCA.

As you may noticed, it's not always the best idea to use
FormEngine for non-form views. A follow-up patch will
therefore replace the FormEngine rendering with direct
usage of our codemirror web component, which however
is master only.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1