Skip to content
New issue

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

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

Already on GitHub? # to your account

Respect webspaces when calculating the maximum number of sitemap pages #642

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

xabbuh
Copy link
Contributor

@xabbuh xabbuh commented Jun 2, 2023

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets
Related issues/PRs
License MIT

What's in this PR?

When articles are collected for the sitemap, the provider restricts them to the articles that are associated with the webspaces of the current host. However, this restriction is not applied when the number of pages is being calculated.

Why?

Example Usage

BC Breaks/Deprecations

To Do

@TheCadien
Copy link
Member

I think @xabbuh is right here and there is a bug. This should be taken into account.

@alexander-schranz alexander-schranz force-pushed the bugfix/max-page-webspaces branch from 37ae1b7 to f50389b Compare August 7, 2023 17:15
@alexander-schranz alexander-schranz changed the title respect webspaces when calculating the maximum number of sitemap pages Respect webspaces when calculating the maximum number of sitemap pages Aug 7, 2023
@alexander-schranz alexander-schranz enabled auto-merge (squash) August 7, 2023 17:21
@alexander-schranz alexander-schranz merged commit 4b29887 into sulu:2.5 Aug 7, 2023
@alexander-schranz
Copy link
Member

Thx @xabbuh

@alexander-schranz alexander-schranz added the bug Error or unexpected behavior of already existing functionality label Aug 7, 2023
@xabbuh xabbuh deleted the bugfix/max-page-webspaces branch August 8, 2023 06:47
wachterjohannes pushed a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Dec 14, 2023
sulu#642)

* respect webspaces when calculating the maximum number of sitemap pages
* Fix baseline errors

---------

Co-authored-by: Alexander Schranz <alexander@sulu.io>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants