Skip to content

Conversation

@gforcada
Copy link
Member

@gforcada gforcada commented Aug 17, 2025

So we remove the last usage of browserDefault and thus can be removed from CMFPlone.

See plone/Products.CMFPlone#3737

Rather than a CMFPlone script from skins folder.
@mister-roboto
Copy link

@gforcada thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@gforcada gforcada changed the title Use plone base Replace browserDefault with is_default_page Aug 17, 2025
@gforcada
Copy link
Member Author

@jenkins-plone-org please run jobs

return is_expired(content)

def is_default_page(self, obj):
from plone.base.defaultpage import is_default_page
Copy link
Member

Choose a reason for hiding this comment

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

Why do you import it here instead of at the top of the module?

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.

4 participants