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
JSON body of rule triggered by asset creation does not contain the correct data.
{“type”:“AssetCreated”,“payload”:{"$type":“EnrichedAssetEvent”,“type”:“Created”,“id”:“00000000-0000-0000-0000-000000000000”,“created”:“1970-01-01T00:00:00Z”,“lastModified”:“1970-01-01T00:00:00Z”,“fileVersion”:0,“fileSize”:0,“assetType”:“Unknown”,“isImage”:false,“partition”:-1785331461,“actor”:“client:csm-truck-inventory-sap:integration”,“appId”:“1d7524c5-8bb4-4d00-991b-acd59dec8fcc,csm-truck-inventory-sap”,“timestamp”:“2023-01-20T21:39:59Z”,“name”:“AssetCreated”,“version”:0},“timestamp”:“2023-01-20T21:39:59Z”}
Expected behavior
JSON body of rule event contains the correct asset id.
Minimal reproduction of the problem
Create asset via the API.
Environment
Production
App Name: csm-truck-inventory-sap
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [x] Self hosted with other version
- [ ] Cloud version
Version: 5.8.2
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
When we try to modify or delete the asset, we get the following error from the UI:
“Failed to make the update. Another user has made a change. Please reload.”
We are able to delete the asset via the API. The invalid json does not happen for all assets, but retrying the same image sometimes works and sometimes doesn’t.
This all started happening after the container running squidex (not mongo) ran out of space and we had to spin up another. We have done this process in the past without issue, so not sure if its related or coincidence. We have many other rules for content types other than assets and those are running fine.