Closed pimotte closed 3 years ago
Thanks for opening your first issue here! Be sure to follow the issue template!
shows that we need full regression test suites on the client...
fyi - have just fully reworked all mutations on the server, and one of those updates was to add mandatory textID also for the organisations - UI still needs to be updated to request + send that string.
If you need a workaround you can create the org directly using the graphql api @ localhost:4000/graphql:
mutation CreateOrganisation($organisationData: CreateOrganisationInput!) { createOrganisation(organisationData: $organisationData) { name, members { name } } }
query variables: { "organisationData": { "name": "Cherrytwist", "textID": "ct11" } }
Yeah, figured it was something like that. For now we're going to fill this using the populator, which should work, right?
Being updated as we speak, should be a refreshed version later today. Chat thru later...
Sent from my iPhone
On 14 Apr 2021, at 11:22, Pim Otte @.***> wrote:
Yeah, figured it was something like that. For now we're going to fill this using the populator, which should work, right?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Describe the bug When creating an organisation, the error
DTO validation for class OrganisationInput { } failed! An instance of OrganisationInput has failed the validation: - property textID has failed the following constraints: maxLength
appears.To Reproduce Steps to reproduce the behavior:
Expected behavior The organisation to be created.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Curl command for the specific request that causes the error (ips refer to our live environment, I removed my auth token)