Skip to content

[BUG] After update to version 2.0.6 or above locales are no longer working with the master languange #73

Open
@idmedia-kaiser

Description

@idmedia-kaiser

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:

  1. Setup
    Set up a project with 2 locales
  2. 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;

  1. Content type schema & entry details / asset details (if possible)
    Doesn't matter happens for all content type entries

  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions