Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1165 Visualizzazioni

Hello everyone,

if we create a new branch on development, we get this error:

2024-05-13 10:56:22,384 4 ERROR database odoo.addons.website.tests.test_assets: FAIL: TestWebAssets.test_ensure_correct_website_asset
Traceback (most recent call last):
  File "/home/odoo/src/odoo/addons/website/tests/test_assets.py", line 248, in test_ensure_correct_website_asset
    self.assertEqual(
AssertionError: Lists differ: ['/web/assets/2/f7ee451/web.assets_frontend.min.js'] != ['/web/assets/2/05cf006/web.assets_frontend.min.js']

First differing element 0:
'/web/assets/2/f7ee451/web.assets_frontend.min.js'
'/web/assets/2/05cf006/web.assets_frontend.min.js'

- ['/web/assets/2/f7ee451/web.assets_frontend.min.js']
?                  ^^^^^^

+ ['/web/assets/2/05cf006/web.assets_frontend.min.js']
?                 +++ ^^^
: Only the website asset is expected to be present

We've only added one website theme; otherwise, we're using Odoo in its default settings and haven't added any other extras.

Any ideas how to fix this? On Staging and Production the test complete without any errors.

Hope you can help

Cheers


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 23
2050
7
dic 24
7432
0
lug 24
1004
0
feb 24
3085
0
ago 23
1172