I have…
- [ x] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x ] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
I’m trying to publish content immediately using a graphQL mutation.
In the schema docs is the dueTime field set as a nullable field of Instant, but when I pass null or do the mutation without the dueTime parameter I get following result:
{
“data”: {
“publishCircularContent”: null
},
“errors”: [
{
“message”: “Error trying to resolve field ‘publishCircularContent’.”,
“locations”: [
{
“line”: 2,
“column”: 3
}
]
}
]
}
it only works when I pass an iso string of date but then the result I get back is still of status “draft”
Expected behavior
publishContent(expectedVersion: -2, id: $id, status: $status, dueTime: null) {
id
status
}
changes the status immediately
Minimal reproduction of the problem
graphql publish mutation on any content
Environment
- [x ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: 4.5.0
Browser:
- [ x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge