When trying to update multiple articles' image using bulk edit, I am getting the following error:

Exception: Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed in serialize() (line 14 of /home/dfgvj/www/core/lib/Drupal/Component/Serialization/PhpSerialize.php).

Comments

nchar created an issue. See original summary.

nchar’s picture

Any news on this?

mattjones86’s picture

Still an issue for me. Seems to happen on all file fields. See #2999659: Buk editing file entities does not work

mattjones86’s picture

Title: Serialization exception when trying to edit an image field » Serialization exception when trying to edit a file/image field
mattjones86’s picture

mattjones86’s picture

StatusFileSize
new597 bytes

Looks like an easy fix, if this is the right way to go about it?

mattjones86’s picture

Status: Active » Needs review
nchar’s picture

Status: Needs review » Reviewed & tested by the community

It works very well! Thank you orphans

  • Graber committed 539b234 on 8.x-2.x authored by mattjones86
    Issue #2974237 by mattjones86: Serialization exception when trying to...
graber’s picture

Status: Reviewed & tested by the community » Fixed

Sorry I didn't notice this earlier, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.