🇳🇱Netherlands Richard Hoogstad
I had a similar issue while trying to delete an node using a command.
Somehow using the release method prevents this redirect from happening.
Example:
$content_lock = \Drupal::server('content_lock');
$content_lock->release($node, 'en');
This is not the solution but it could hint to what is going on a deeper level.
The actual cause in my case is a predelete hook
🇳🇱Netherlands Richard Hoogstad
Richard Hoogstad → created an issue.
🇳🇱Netherlands Richard Hoogstad
Sorry this needed to be in flysystem_s3
🇳🇱Netherlands Richard Hoogstad
Richard Hoogstad → created an issue.