Error when calling resourceManager->deleteResource on unpublished Resource
$fileResource = $this->resourceManager->importUploadedResource($fileUpload); //extracting info here, works fine $this->resourceManager->deleteResource($fileResource);
This currently causes:
Warning: Invalid argument supplied for foreach() in /flow/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Resource_Publishing_FileSystemPublishingTarget.php line 158
No big deal breaker, since one can delete the file manually using the same code as is inside deleteResource(), skipping the whole unpublish part, but should be fixed in any case.
No data to display