Closed ComLock closed 6 months ago
This is by design. There is a libProject allows to reach config https://developer.enonic.com/docs/xp/stable/api/lib-project#get
Keep in mind that a project can't be published, so project "siteConfig" should always be fetched from draft.
This is also not exactly true. Project is published with any published content within that project This is because applications and their configurations are inherited by layers where publishing cannot be propagated - layer may have changed config - added/removed apps, etc.
There is a libProject allows to reach config https://developer.enonic.com/docs/xp/stable/api/lib-project#get
I'll have to test that. The documentation doesn't show that siteConfig is returned?
Only that you can affect it with create and modify.
BTW: Does lib-project.get read siteConfig from draft?
This is at least reproduceable inside a Guillotine 7.0.3 Extension
Keep in mind that a project can't be published, so project "siteConfig" should always be fetched from draft.