Just realized a strange behaviour with v2:
I have a script generating a calendar view. That uses some configuration settings via config API (like config.set(“JournalCalendar”, {bla}) )
I run that in my index page with lua expression like ${generate_calendar()}
At first I thought it was working fine, but now I realized this:
After opening my space for the first time in a browsersession, the config seems to be ignored.
After an “System: reload”, everything is working as expected.
So it looks like the config.set is evaluated too late.
I managed it with setting -- priority: 100
for the config and -- priority: 90
for my script.
However, it might be good to evaluate configs before everything else?