Comments (4)
Thanks for reporting. Great find
from services.
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.
from services.
Yes we will look to get this adjusted as part of that release
from services.
Hello,
Here's an example of an error when I want to access a scenario's form with an multivalue upload component.
form content:
{
"components": [{
"label": "Upload",
"mask": false,
"tableView": true,
"alwaysEnabled": false,
"type": "file",
"input": true,
"key": "upload",
"defaultValue": [],
"validate": {
"customMessage": "",
"json": ""
},
"conditional": {
"show": "",
"when": "",
"json": ""
},
"storage": "base64",
"dir": "",
"fileNameTemplate": "",
"webcam": false,
"fileTypes": [{
"label": "",
"value": ""
}],
"encrypted": false,
"properties": [],
"customConditional": "",
"logic": [],
"reorder": false,
"url": "",
"options": "",
"webcamSize": ""
}, {
"allowCalculateOverride": false,
"autofocus": false,
"calculateValue": "",
"clearOnHide": true,
"clearOnRefresh": false,
"conditional": {
"eq": "",
"when": null,
"show": null
},
"customClass": "",
"customDefaultValue": "",
"dataGridLabel": false,
"dbIndex": false,
"defaultValue": "",
"description": "",
"disabled": false,
"errorLabel": "",
"hidden": true,
"hideLabel": false,
"id": "els02no0",
"input": true,
"inputFormat": "plain",
"inputMask": "",
"inputType": "text",
"key": "jsonIdentityRequested",
"label": "Champs Technique",
"labelMargin": 3,
"labelPosition": "top",
"labelWidth": 30,
"mask": false,
"multiple": false,
"persistent": true,
"placeholder": "",
"prefix": "",
"properties": [],
"protected": false,
"refreshOn": "",
"showCharCount": false,
"showWordCount": false,
"suffix": "",
"tabindex": "",
"tableView": true,
"tags": [],
"tooltip": "",
"type": "textfield",
"unique": false,
"validate": {
"custom": "",
"customPrivate": false,
"maxLength": "",
"maxWords": "",
"minLength": "",
"minWords": "",
"pattern": "",
"required": false
},
"validateOn": "change",
"widget": {
"saveAs": "text",
"dateFormat": "yyyy-MM-dd hh:mm a",
"format": "yyyy-MM-dd hh:mm a",
"type": ""
}
}, {
"allowCalculateOverride": false,
"autofocus": false,
"calculateValue": "",
"clearOnHide": true,
"clearOnRefresh": false,
"conditional": {
"eq": "",
"when": null,
"show": null
},
"customClass": "",
"customDefaultValue": "",
"dataGridLabel": false,
"dbIndex": false,
"defaultValue": "",
"description": "",
"disabled": false,
"errorLabel": "",
"hidden": true,
"hideLabel": false,
"id": "els02no1",
"input": true,
"inputFormat": "plain",
"inputMask": "",
"inputType": "text",
"key": "canalRequest",
"label": "Champs Technique",
"labelMargin": 3,
"labelPosition": "top",
"labelWidth": 30,
"mask": false,
"multiple": false,
"persistent": true,
"placeholder": "",
"prefix": "",
"properties": [],
"protected": false,
"refreshOn": "",
"showCharCount": false,
"showWordCount": false,
"suffix": "",
"tabindex": "",
"tableView": true,
"tags": [],
"tooltip": "",
"type": "textfield",
"unique": false,
"validate": {
"custom": "",
"customPrivate": false,
"maxLength": "",
"maxWords": "",
"minLength": "",
"minWords": "",
"pattern": "",
"required": false
},
"validateOn": "change",
"widget": {
"saveAs": "text",
"dateFormat": "yyyy-MM-dd hh:mm a",
"format": "yyyy-MM-dd hh:mm a",
"type": ""
}
}, {
"allowCalculateOverride": false,
"autofocus": false,
"calculateValue": "",
"clearOnHide": true,
"clearOnRefresh": false,
"conditional": {
"eq": "",
"when": null,
"show": null
},
"customClass": "",
"customDefaultValue": "",
"dataGridLabel": false,
"dbIndex": false,
"defaultValue": "89bad8e2-58ea-4fb4-9cf8-c5bd94400ba0",
"description": "",
"disabled": false,
"errorLabel": "",
"hidden": true,
"hideLabel": false,
"id": "els02no2",
"input": true,
"inputFormat": "plain",
"inputMask": "",
"inputType": "text",
"key": "tenantId",
"label": "Champs Technique",
"labelMargin": 3,
"labelPosition": "top",
"labelWidth": 30,
"mask": false,
"multiple": false,
"persistent": true,
"placeholder": "",
"prefix": "",
"properties": [],
"protected": false,
"refreshOn": "",
"showCharCount": false,
"showWordCount": false,
"suffix": "",
"tabindex": "",
"tableView": true,
"tags": [],
"tooltip": "",
"type": "textfield",
"unique": false,
"validate": {
"custom": "",
"customPrivate": false,
"maxLength": "",
"maxWords": "",
"minLength": "",
"minWords": "",
"pattern": "",
"required": false
},
"validateOn": "change",
"widget": {
"saveAs": "text",
"dateFormat": "yyyy-MM-dd hh:mm a",
"format": "yyyy-MM-dd hh:mm a",
"type": ""
}
}]
}
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
from services.
Related Issues (20)
- Add Data field into Services Get List - ACL issue
- Add ability to use multiple data resolvers in a single form field
- Error when saving an entity in a single language HOT 1
- Add "Assistant" service type
- Camunda Function as a Service Endpoints HOT 6
- Add ability to inject custom_data variable into camunda on BPM scenario submission
- Submitting an empty data object for POST /submissions returns php error due to php array vs object with json_decode
- Internal Server Error (500) when any user attempts to list `/services`
- Add submission details on the POST submissions request
- Refactor submission / is valid to contain common logic in the core form component
- Ommitting 'data' attribute from POST /categories causes 500 error.
- Safe Delete HOT 4
- Allow numbers in form names/paths
- Submission uuid filter does not seem to filter, and returns the entire list of submissions
- Investigate behavior of passing ?title[]=value1&title[]=value2 versus ?title=[value1,value2] and the type-casting issue
- Limit & page parameters on microservice tasks
- Resolver form error
- Order in submission HOT 6
- Cannot filter by slug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from services.