[ai_translate] Error: Call to a member function hasTranslation() on null

Created on 19 September 2024, 1 day ago

Problem/Motivation

There are cases where ReferenceFieldExtractor.php->setValue() has an empty $referencedEntities array, which causes the error. I'm not sure if such reports are really helpful to you. Please advise.

Steps to reproduce

Create node-type with reverence field
Add Node and translate it

Proposed resolution

Remaining tasks

User interface changes

API changes

Check if the array is not empty.

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Other Submodules

Created by

🇩🇪Germany thomas schuh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024