Project

General

Profile

Bug #100477

Updated by Christian Kuhn over 1 year ago

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.

Back