Skip to content

fix test to use document_view as default view for site root - #126

Merged
jensens merged 3 commits into
masterfrom
agttr-dxsiteroot-view
Nov 16, 2021
Merged

fix test to use document_view as default view for site root#126
jensens merged 3 commits into
masterfrom
agttr-dxsiteroot-view

Conversation

@agitator

Copy link
Copy Markdown
Member

No description provided.

@mister-roboto

Copy link
Copy Markdown

@agitator thanks for creating this Pull Request and help improve Plone!

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass.

Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:

@jenkins-plone-org please run jobs

With this simple comment all the jobs will be started automatically.

Happy hacking!

@mauritsvanrees mauritsvanrees left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expect this only passes with Plone 6, and plone.rest master is used and tested on older versions as well.
Maybe check that the view name is the same as self.portal.getDefaultLayout()?

@agitator

Copy link
Copy Markdown
Member Author

@mauritsvanrees thx for the hint

@jensens
jensens merged commit 3a8e69c into master Nov 16, 2021
@jensens
jensens deleted the agttr-dxsiteroot-view branch November 16, 2021 09:53
Comment thread news/126.bugfix
@@ -0,0 +1,2 @@
Use document_view as default for site root.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agitator @jensens this changelog entry makes it sound like it would change behavior. Not just a test. Technically this is also not a bugfix but an "internal" change I'd say.

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

Successfully merging this pull request may close these issues.

5 participants