Skip to content

GraphQLDictionaryService should handle null entries #2027

@Lemholt

Description

@Lemholt

Describe the Bug

If there are any null entries in a sites dictionary the GraphQLDictionaryService will throw an error. This has happened multiple times and can be a language missing or similar that is halting the entire build.

To Reproduce

Have an empty/null entry in your dictionary.

Expected Behavior

The GraphQLDictionaryService should not break and simply filter these null values out.

Possible Fix

Check for null entries in the result for dictionary services and ignore these.

Provide environment information

  • Sitecore Version: 10.4.1
  • JSS Version: 22.4.1
  • Browser Name and version: ALL
  • Operating System and version (desktop or mobile): ALL
  • Link to your project (if available):

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogIssue/PR/discussion is reviewed and added to backlog for the further work🐞 bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions