Description
Describe the bug
After update to version 2.0.6 or above locales are no longer working with the master language
We have two locales configured "de-de" and "de-at".
Before 2.0.6 the de-at locale data was also present in the file system and could be queried if it was not localized but was falling back to the master language
After 2.0.6 only localized Data is present in the file system and can be queried, non localized but published content is no longer available in other locales beside the master language
To Reproduce
Steps to reproduce the behavior:
- Setup
Set up a project with 2 locales - Configuration info (except api_key/tokens)
const config = {
sdk: "datasync-filesystem-sdk",
contentStore: {
baseDir: "./_contents",
locale: "de-de",
projections: {
ACL: 0,
_in_progress: 0,
_synced_at: 0,
_version: 1,
created_at: 0,
created_by: 0,
event_at: 0,
locale: 0,
publish_details: 0,
tags: 0,
updated_at: 0,
updated_by: 0,
_content_type_uid: 1
},
preserveAssetInReferencedEntries: true
},
assetStore: {
baseDir: "./_contents"
},
port: process.env.REST_PORT || 3000
};
module.exports = config;
-
Content type schema & entry details / asset details (if possible)
Doesn't matter happens for all content type entries -
Copy paste the error in detail
No error, but the data is not present
Expected behavior
DataSync needs to be able to return non localized, but published content from the master language
Desktop (please complete the following information):
- Windows / Docker Linux
- Node 18 / Node 20
Additional context
Add any other context about the problem here.