The "Node Access module" is not fully compatible with Drupal 10, let alone Drupal 11.x. I'm unable to reproduce this issue for now.
π | Drupal core | Drupal\media\Entity\Media::prepareSave should convert URL object metadata to string before saving
π | Drupal core | Drupal\media\Entity\Media::prepareSave should convert URL object metadata to string before saving
Hi, I was able to reproduce this issue on 11.x. I get the same error as mentioned above.
I tested the same scenario by applying the patch provided in comment #30. The patch worked for 9.4 but needed to be re-rolled for 11.x. I have updated the patch, which applied cleanly and I do not see the error post that. So, I created MR with the code changes.
Attaching the updated patch for 11.x.
Kindly review the MR.
π | Drupal core | Drupal\media\Entity\Media::prepareSave should convert URL object metadata to string before saving
shishircoolin β made their first commit to this issueβs fork.
I am not able to reproduce this issue as well.