Problem/Motivation
After installing the paragraphs_collection_demo
module, the demonstration node that this module creates - "Paragraphs Collection Demo Article!" - cannot be edited and saved. Specifically, trying to "Save and keep published" this node result in the error message:
This value should be of the correct primitive type.
Deleting the "Slider Infinite" paragraph removes this problem.
Proposed resolution
Find out what part of of the Slider plugin or the paragraphs_collection_demo
installation causes this problem and fix it.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#12 | paragraphs_collection-2858719-12.patch | 1.38 KB | VladimirMarko |
| |||
#12 | interdiff-2858719-10-12.txt | 890 bytes | VladimirMarko |
Comments
Comment #2
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedAs pointed out elsewhere, this is related to #2220381: "This value should be of the correct primitive type" error when field has no value I don't think that having to edit this node is super critical for us, so setting priority to Minor.
Comment #3
VladimirMarko CreditAttribution: VladimirMarko commentedI think the problem are the images used in the "Slider Infinite" paragraph and the function that generates them -
\_paragraphs_collection_demo_create_image_paragraph
.Comment #4
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedJust noticed that because this validation fails, we can't even duplicate/collapse stuff in the widget. We also have the same problem with the more grids demo node. So let's bump that back to Normal for now.
Comment #5
VladimirMarko CreditAttribution: VladimirMarko commentedComment #6
VladimirMarko CreditAttribution: VladimirMarko commentedThis fixes it. The URIs of the images were wrong.
Comment #7
toncic CreditAttribution: toncic at MD Systems GmbH commentedThis is already fixed in #2850608: Basic fundamental paragraph types implementation, but we can add some test for that.
Comment #8
VladimirMarko CreditAttribution: VladimirMarko commentedAlright. Scrapped the previous change, as #2850608: Basic fundamental paragraph types implementation handles that and wrote a test of validity for the demo node, instead.
Comment #9
toncic CreditAttribution: toncic at MD Systems GmbH commentedYou can also assert ``Paragraphed Content Demo Paragraphs Collection Demo Article! has been updated.`` after saving.
Comment #10
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedHere you go.
Comment #11
toncic CreditAttribution: toncic at MD Systems GmbH commentedDon't need for this, after saving you are at that page.
Comment #12
VladimirMarko CreditAttribution: VladimirMarko commentedComment #13
toncic CreditAttribution: toncic at MD Systems GmbH commentedNow looks fine.
Comment #15
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedCommitted, thanks.
Comment #17
apaderno