I have…
- [ ] Checked the logs and have provided uploaded a log file and provided a link because I found something suspicious there.
I don’t have access to the container that Squidex is running in. If required, I can ask someone to get the logs.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x ] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Issue description
When uploading an asset and changing the slug, the version number increases somewhere internally (as expected). I have assets linked in another object and I use GraphQL to fetch it’s URL with something like this:
{
querySomeContents {
data {
assets {
url
}
}
}
}
with data/assets
being Asset[]
The retrieved URL is https://my-hostname/api/assets/<uuid>?version=1
However, a GET request to that URL will always result in a 404 response. The asset is only available when ?version=0
is queried.
Uploading an asset and retrieving it works, it starts failing upon the first change on the asset which increases the issued version number.
Environment
- [x] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: 4.0.3.0