-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Array to string conversion" exception when saving a page with field type "pages" and "multiple: true" #1024
Comments
Update: This error doesn't occur when
is added to the field in the blueprint. |
FYI, you shouldn't be modifying the system blueprints. If you want to add a field you should do it with an override. Look at the antimatter theme in the |
I know, this happens when doing it in a theme as well. So this is not considered a bug? I think at least the error message could be a little more helpful. |
hmm.. I guess we could auto-handle forcing comma list in pages field when multiple is true.. I'll open her up again. |
Can confirm that this is a bug, and that adding:
to the field in question does seem to work for my case. The field in its entirety being:
To reproduce the exception OP was talking about, just remove the two lines beginning at |
I got the exact same problem as @Amorfx. Any update about this bug? |
I would like to use pagemediaselect field with attribute multiple to true. (as the doc say, it's possible) I tried to add a field like this from a blueprint:
As suggested above, I've also tried to add:
Sadly nothing work I always get a |
Hello there, I get the same error when using the "filepicker" field inside a config yaml file. Is there any new insight on this problem? |
Hi there I have the same problem with Before adding the validate part I get the My setup:
|
Tested on new installs of
Environment:
Repro steps:
system/blueprints/pages/default.yaml
(just for speed, but I can reproduce the bug with a page blueprint found in a theme as well)content
tab, add this field (line 38):Expected result: No error.
Actual result:
This does not happen if the field doesn't have
multiple: true
. I also tried addingvalidation: type: array
but it doesn't fix it.The text was updated successfully, but these errors were encountered: