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.
- [X] Used code blocks with ``` to format my code examples like JSON or logs properly.
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 am using the Squidex SDK in C# program.
There is a function “BulkUpdateAsync”.
When I used it to update multiple contents, it will response “ID “xxxx” is currently exists”.
But I just want to update the content rather than create a new one.
Here is my sample code,
var job = testList.Select(x => new BulkUpdateJob
{
Id = x.Id,
Data = x.Data,
Status = x.Status,
Type = BulkUpdateType.Upsert
}).ToList();
var bulkUpdateTask = new BulkUpdate
{
Jobs = job,
DoNotScript = false,
Publish = true
};
await squidexClient.BulkUpdateAsync(bulkUpdateTask);
Expected behavior
Bulk Update Successfully
Minimal reproduction of the problem
In fact, I don’t know how to reproduce the issue. It happened suddenly.
Environment
App Name:
- [x] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: 5.6.0, Squidex Client Library is using 5.6.0 as well
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others: