-
Type:
Bug
-
Resolution: Unresolved
-
None
-
Affects Version/s: None
-
Component/s: LanguageResources, translate5 AI
Problem
When editing an empty segment, all language resources will be queried, as the config is ignored for empty segments. Empty segments can be produced when using internal fuzzies on pretranslation. When such a segment is opened and GPT is queried, the following error is given in the fuzzy match panel:
editor_Services_Connector_TagHandler_Xliff::restoreInResult(): Argument #1 ($resultString) must be of type string, array given, called in /var/www/translate5/application/modules/editor/Plugins/OpenAI/LanguageResource/Connector.php on line 299