Skip to content

Conversation

@erral
Copy link
Member

@erral erral commented Apr 16, 2025

The check function was only checking the environment var and not the user-entered preference.

I have kept the environment var override.

Fixes #98

@erral erral force-pushed the erral-volto-19-alpha branch from 3543efc to f772c25 Compare April 16, 2025 04:21
Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

This is not the right fix for #98. This function is used as a filter to calculate the default value for the use_prerelease_versions variable.

The actual problem is that the frontend_addon template is hardcoded to pass Yes for use_prerelease_versions when it uses the latest_volto filter here: https://github.com/plone/cookieplone-templates/blob/main/templates/add-ons/frontend/cookiecutter.json#L9

@davisagli
Copy link
Member

@erral Here's the fix that works for me: plone/cookieplone-templates#217

@erral
Copy link
Member Author

erral commented Apr 16, 2025

I tested that it worked, but now it doesn't.... I suspect it was too early in the morning :(

@erral erral closed this Apr 16, 2025
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.

Volto 19.0.0-alpha.0 used when requesting not to use pre released versions

3 participants