viur-framework / viur-core

The core component of ViUR, the Python framework for modern web development.
https://www.viur.dev
MIT License
13 stars 14 forks source link

fix: `SpamBone`'s descr not available without session #1324

Closed phorward closed 1 week ago

phorward commented 2 weeks ago

This bug is a regression of #1277 and #1227.

The __system_initialized-bool should be set after all setSystemInitialized() functions where invoked, as the system is defined to be initialized after the stuff where worked.

Otherwise, SpamBone.descr cannot determine whether it is executed in an uninitialized or initialized system.