When quick edit a multiple value field, the button Add an item doesn't work.
Ajax request return an error :
StatusText: Internal Server Error↵ResponseText : {"message":"A fatal error occurred: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution."}"
Step to reproduce :
1. Add a text field to a node content type like Article for exemple;
2. Set this field with unlimited values;
3. Activate Quick edit module and add an article;
4. Go on the new article page and Quick edit the mulitple value field;
5. When you click on the Add item button, nothing happened, ajax request return an error.
Tested on :
Drupal 8.1 and 8.2
Comment | File | Size | Author |
---|---|---|---|
#3 | video-error quick edit multiple value.gif | 4.36 MB | Flodevelop |
Comments
Comment #2
Wim LeersCan you please provide steps to reproduce?
Comment #3
Flodevelop CreditAttribution: Flodevelop commentedComment #4
Flodevelop CreditAttribution: Flodevelop commentedComment #11
quietone CreditAttribution: quietone as a volunteer commented@Flodevelop Thank you for reporting this problem. We rely on issue reports like this to improve Drupal core.
I tested this on 9.2.x, standard install and was not able to reproduce this error. I followed the steps given in the Issue Summary.
Therefore, closing as cannot reproduce. If you are experiencing this problem reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!