Details
-
Task
-
Resolution: Unresolved
-
None
-
None
-
Medium
-
IMPORTANT: remove ingnore-auto-update flag on instance-1113 as soon as this patch can go out
-
-
Empty show more show less
Description
Problem
After Update to Plunet 10 JS Injection can not be loaded any more. JS Error in Plunet is:
Die Ressource unter "https://sylvi.translate5.net/editor/plugins_plunetconnector/plunetinjection" wurde aufgrund ihres Cross-Origin-Resource-Policy-Headers (oder dessen Fehlens) blockiert. Weitere Informationen unter https://developer.mozilla.org/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP)#
Solution
adding the following header allows the Injection to be loaded:
header('Cross-Origin-Resource-Policy: cross-origin');
additional Problem
sadly after Injection can be loaded again, tasks are submitted to Translate5 but Import does not work.
Looks like preparation of data can not be finished. So may there are more changes in Plunet10 which affect the Plugin in a deeper way.
Solution
problem (luckily) was based on the recent reworks of triggering/starting the task import worker. Axel simply missed this place to rework.
Now its changed and task now are transfered to Translate5 as expected.