Hi all.
The first solution in Drupal 9.3.3 seem doesn't work. I obtain two errors:
- Drupal\Core\File\Exception\FileNotExistsException: File 'private://pdf/yyy.pdf' could not be copied because it does not exist. in Drupal\Core\File\FileSystem->prepareDestination() (linea 459 di /var/www/html/test/web/core/lib/Drupal/Core/File/FileSystem.php)
- Drupal\Core\Entity\EntityStorageException: File 'private://pdf/yyy.pdf' could not be copied because it does not exist. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (linea 811 di /var/www/html/test/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php)
Anyone have any idea? Maybe in 9.3.x has changed something in File management?
Alex.