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 URLs when content type is used in another block #68

Open
Fifok opened this issue Aug 9, 2023 · 0 comments · Fixed by #70
Open

Null URLs when content type is used in another block #68

Fifok opened this issue Aug 9, 2023 · 0 comments · Fixed by #70
Assignees
Labels

Comments

@Fifok
Copy link
Contributor

Fifok commented Aug 9, 2023

When some block is used inside another block we get that usage, but it's null in pageURLs.
The reason: ContentUsageService resolves only the direct usage when resolving page URLs.

Example:
image

There should be two URLs.

Possible solution:

We should loop through all resolved references until we get a reference to a page.

@Fifok Fifok added the BE label Aug 9, 2023
@Fifok Fifok self-assigned this Aug 10, 2023
@Fifok Fifok linked a pull request Aug 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant