I have…
- [ ] Checked the logs and have provided uploaded a log file and provided a link because I found something suspicious there.
I’m submitting a…
- [x] Regression (a behavior that stopped working in a new release)
- [ ] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
When X-Flatten: true and X-Languages: de headers are provided, Squidex-API returns all languages
Expected behavior
API should return the model flattened
Minimal reproduction of the problem
-
Upgrade to v3.0.0
-
Create Language
-
Create Localized Schema
-
Add Test Content to Schema
-
Make Request to new Schema with Headers
- X-Flatten: true
- X-Languages: de
Environment
- [x] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: [3.0.0]
Others:
Thanks for the good bug report. I will have a look.
1 Like
I’m currently using the paid cloud version and I don’t see this fix, it still doesn’t work.
Strange, it is the same version.
@Lewitje Just made a quick test in the cloud and I cannot reproduce it.
These are the headers I’m sending, and the response I’m getting.
This started happening about 1 hour ago.
@Sebastian It’s working again, was something changed?
I switched back to 2.X, so we can resolve your problem. Are you sure, that your casing is correct?
This is what i’m sending, do you see anything weird?
(I’m limited to posting new replies because i’m a new user)
No, can you check the network logs in the browser? I would like to know if the casing is the same.
@Sebastian This issue is back, I couldn’t post before because I was a new member, but my updated screenshot is above.
Yes, I deployed it again, cause I cannot reproduce the problem.
I’m going to triple check my code, but I haven’t changed anything, I followed the docs and suddenly it doesn’t work anymore.
I know, but you see that it works for me
Can you send me your bearer token and URL to the content as PM?
Finally solved in a private conversation.