-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error 500 on Services/Scenarios/{scenario.uuid}/forms when multi-values field is present #78
Comments
Thanks for reporting. Great find |
This issue blocks us on creating forms even basic ones. Can you confirm that this issue will be fixed on the next release (scheduled in mid July AFAIK) ? Thanks for your confirmation. |
Yes we will look to get this adjusted as part of that release |
Hello, Here's an example of an error when I want to access a scenario's form with an multivalue upload component. form content:
Error returned when I want to show the scenario which this form is linked: Argument 1 passed to Ds\Component\Resolver\Collection\ResolverCollection::resolve() must be of the type string, array given, called in /srv/api/vendor/digitalstate/core/src/Form/Service/FormService.php on line 203 |
When trying to fetch (GET {{services}}/scenarios/{scenarion.uuid}/forms) the start-up form on a scenario, if a multi-value selection component is in it
component.txt, its default value is an empty array.
Due to this, while trying to fetch the form, I obtained this response
response.txt
If we switch back the default value to an empty string, we can get the form back.
The text was updated successfully, but these errors were encountered: