Our client reported an issue when localizing files.
On the image above you can see an image relation of a translated content element with an image attached.
The grey image below is the image that was assigned in the main language but was removed from the translation.
Using the right button the editor is able to make it available for the localization again. This however throws an error ("undefined" in JS due to PHP Exception in AJAX request), which is directly related to the method signatures of this extension's DataHandler hooks.
$value passed to the hook in this case is not a string but an array. For now I added "array" as type to fix the issue.
Not sure what the correct type is, or if we just should leave it open.
Our client reported an issue when localizing files.
On the image above you can see an image relation of a translated content element with an image attached. The grey image below is the image that was assigned in the main language but was removed from the translation.
Using the right button the editor is able to make it available for the localization again. This however throws an error ("undefined" in JS due to PHP Exception in AJAX request), which is directly related to the method signatures of this extension's DataHandler hooks.
$value
passed to the hook in this case is not a string but an array. For now I added "array" as type to fix the issue. Not sure what the correct type is, or if we just should leave it open.