plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
448 stars 610 forks source link

Addon configuration can't depend on settings exported from project configuration #1630

Open tiberiuichim opened 4 years ago

tiberiuichim commented 4 years ago

There's a tricky import resolution order problem which makes an addon's applyConfig function unable to see any values that are set in a project config.js.

We have the following import order:

Some possible solutions:

Any other ideas?

sneridagh commented 1 year ago

@tiberiuichim is this still relevant? Do we still have this issue?

tiberiuichim commented 1 year ago

@sneridagh Still relevant, but it's an edge case. It's a chicken or egg problem. Can only be solved by killing one of them (project).