web_renderjs_ui,officejs: don't use zope's favicon.ico
Most service worker precache scripts reference a favicon.ico, but this is using the default favicon.ico from Zope and even though it was included in all ERP5JS and OfficeJS web sites, this was mostly not used, only web_renderjs_ui web pages reference favicon.ico. There's a favicon.ico in erp5_xhtml_style skin folder, but the skin folder is not in ERP5JS skin selection. On Zope2, this caused ERP5JS and OfficeJS application use the default Zope favicon. On Zope4, the service worker can not fill its cache because of 404 errors, because since Zope commit 4f0770941 (Retired icons from the `Zope Management Interface` and various smaller cleanups of ZMI screens., 2011-07-02) there's no default favicon.ico anymore. To solve this, provide a favicon.ico in ERP5JS skin selection, by copying the one from erp5_xhtml_style. We also reference it explicitly in web site layout properties so that it remain in the cache. OfficeJS applications do not use favicon.ico explicitly. They use icons in their web application manifest, but this does not seem to be use as favicon unless the PWA is installed. This part is not addressed by this commit.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
running |
#379640
external
|
ERP5.CodingStyleTest-Master |
23440:40:11 |
||||||
running |
#379728
external
|
ERP5.PerformanceTest-Master |
23440:12:23 |
||||||
running |
#379639
external
|
ERP5.UnitTest-Master |
23440:40:12 |
||||||
running |
#379667
external
|
ERP5.UnitTest-Master.Medusa |
23440:39:49 |
||||||
passed |
#379661
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:07
|
||||||
passed |
#379649
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:22:10
|
||||||