Closed (fixed)
Project:
Entityqueue
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2016 at 04:33 UTC
Updated:
2 Jan 2017 at 04:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
beltofteSteps to reproduce:
# Add a new queue of the type “Multiple subqueues”.
# Add a new subqueue.
# Add a new item without saving the queue.
# Add a second item without saving the queue.
# When clicking “Add another item” is 3rd item field not added.
# Saving the subqueue will save the first item added, but the second item is lost.
After saving the subqueue is it working fine again. So it looks like it happens only when the subqueue was added and not saved.
When the issue occurs is the following error logged in the watchdog:
LogicException: Settings can not be serialized. This probably means you are serializing an object that has an indirect reference to the Settings object. Adjust your code so that is not necessary. in Drupal\Core\Site\Settings->__sleep() (line 62 of /core/lib/Drupal/Core/Site/Settings.php).
Comment #3
beltofteComment #5
amateescu commentedThanks for the detailed steps to reproduce, it's now fixed with the patch attached.
Comment #6
tamnv commentedHi @amateescu,
This patch worked for me.
Thanks you.