I have…
- [ ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
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
Re-upserting a ContentItem with Id fails if the schema is empty, been deleted, then re-created. Message returns 400 “Invalid Command”.
Expected behavior
Upserting the ContentItem with Id succeeds
Minimal reproduction of the problem
Create empty Schema “a”
Create ContentItem with Guid Id b34128ee-2fb1-56df-8c84-9dd5f7caafeb
Delete Schema
Recreate Schema “a”
Attempt to create Content with same Guid id
Response is 400 “Invalid Command”
Environment
- [x] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: [VERSION]
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [x] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
*I noticed that no ContentCreated event document is created in the mongoDb store when no fields are available.
*I noticed that I could Upsert a deleted item with an pre-used Id if fields exist within the schema