#5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing))
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Concepts sous-jacents
Commentaires
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : Still to be meditated: don't we have situations where we want to initdb without cleaning the media files?
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : Maybe now. SITE.build_site_cache() is not called from prep but from initdb. And there is only one confirmation "We are going to flush the database and remove all files below media_root".
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : Hm. Now "pm prep" will always build all the js and json cache files. I am not yet sure whether I like this.
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : New method Plugin.on_build_site_cache()
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : These files are being built into the media root during post_site_startup() in lino_welfare.modlib.cbss.models, That has become too early because of #5098.
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : That's a side effect of #5098.
- 3 ans, 2 mois ago by Luc Saffre about #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)) : Created new Ticket #5102 (inv test in welfare fails with FileNotFoundError (xsd file is missing)).