You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the function optimizePublishedFileof the ResourcePublisherAspect class in Flow 2 the absolute path was returned and in Flow 3 only the relative path to the resource.
This breaks the optimizeFile function and leads to an Exception of the Entity Manager when doctrine tries to store a resource.
For some reason the aspect doesn't appear in the Stacktrace.
Fixed it locally by injecting resource.targets.localWebDirectoryPersistentResourcesTarget.targetOptions.path from TYPO3.Flow and using it as prefix to get the absolute path.
Not sure if that is the perfect way.
The text was updated successfully, but these errors were encountered:
In the function
optimizePublishedFile
of theResourcePublisherAspect
class in Flow 2 the absolute path was returned and in Flow 3 only the relative path to the resource.This breaks the
optimizeFile
function and leads to an Exception of the Entity Manager when doctrine tries to store a resource.For some reason the aspect doesn't appear in the Stacktrace.
Fixed it locally by injecting
resource.targets.localWebDirectoryPersistentResourcesTarget.targetOptions.path
fromTYPO3.Flow
and using it as prefix to get the absolute path.Not sure if that is the perfect way.
The text was updated successfully, but these errors were encountered: