Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null issue with language variants when language is null #23

Open
enkelmedia opened this issue Aug 9, 2023 · 0 comments
Open

Null issue with language variants when language is null #23

enkelmedia opened this issue Aug 9, 2023 · 0 comments

Comments

@enkelmedia
Copy link
Owner

Seems like this happens when some node in the tree varies by culture but the current does not. In that case currentNode.variants might contain variants where language is null.

angular.js:15697 TypeError: Cannot read properties of null (reading 'culture')
    at SeoVisualizerController.controller.js?d=4f5cc42776ce7c22d0f3a5192cc8b716815d6199:97:93
    at Array.filter (<anonymous>)
    at $scope.getTitle (SeoVisualizerController.controller.js?d=4f5cc42776ce7c22d0f3a5192cc8b716815d6199:97:70)
    at fn (eval at compile (angular.js:16548:15), <anonymous>:4:144)
    at angular.js:17559:31
    at m.$digest (angular.js:19262:34)
    at m.$apply (angular.js:19630:13)
    at angular.js:21773:25
    at Yg.completeTask (angular.js:21403:7)
    at angular.js:6879:7
enkelmedia pushed a commit that referenced this issue Aug 9, 2023
enkelmedia pushed a commit that referenced this issue Aug 9, 2023
(cherry picked from commit adb145a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant