Issue Bug Closed

#100477translateFormElementError() calls getProperties() on RootRenderableInterface

Christian Kuhn 04/05/23, 15:48 updated 08/11/26, 08:46

Description

See TranslationServiceTest->translateFormElementErrorTranslateErrorFromFormWithContentElementUidIfFormContainsOriginalIdentifier() and translateFormElementErrorTranslateErrorFromFormWithContentElementUidIfFormContainsNoOriginalIdentifier()

TranslationService->translateFormElementError() calls getProperties() on RootRenderableInterface, but the method is not part of the interface.

Something is wrong here, but I lack deeper understanding currently:
  • Should getProperties() be added to the interface?
  • Should translateFormElementError() sanitize that and check differently, maybe similar to other methods in the class?

Note TranslateElementErrorViewHelper uses the method, too.

Reviews 3

History 47

  1. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-05-28T20:40:08+00:00" > 05/28/26, 20:40 </span>

    Applied in changeset commit:d1b90e8eeb465ec4d72f592989fbca7a58d0e778.