Open hiba-ijjig-nw opened 3 weeks ago
Same issue for me. I have investigated that somehow when saving Content with non-default language in db it stores with default locale. That's why during publish the system can't find non-default content from db.
Seems this issue is about the same thing.
Required System Information
Describe the Bug
A user cannot publish a single type in a specific locale if that single type hasn't been created in the default locale, or if the user lacks access to the default locale.
Steps to Reproduce
Expected Behavior
The user should be able to publish a single type in a specific locale, even if it's not created in the default locale, or if the user lacks access to the default locale.
Screenshots
In this example,
fr-FR
is the default locale.en-FR
:publishing the single type gives a countDraftRelations error with a status code of 404 because it hasn't been created in the default locale (fr-FR).
countDraftRelations
failed with a 403 because the user didn't have access to the default locale.I belive that these errors occur because
countDraftRelations
checks the default locale instead of the current one.