globaleaks / globaleaks-whistleblowing-software

GlobaLeaks is a free and open-source whistleblowing software enabling anyone to easily set up and maintain a secure reporting platform.
https://www.globaleaks.org
Other
1.25k stars 274 forks source link

Failure in loading admin settings page resulting in an empty white page #4311

Closed FrankyM closed 1 week ago

FrankyM commented 1 week ago

What version of GlobaLeaks are you using?

5.0.25, Debian 12 bookworm

What browser(s) are you seeing the problem on?

Firefox, Microsoft Edge

What operating system(s) are you seeing the problem on?

Windows

Describe the issue

After upgrading from 5.0.24 to 5.0.25 the settings page is empty. Other tabs are ok. leaks-empty-settings_5 0 25

I found this problem after upgrading from 4.13.10 to 5.0.25. I went back to old version by snapshot. Try to upgrade first to latest 4 version by deb package. Everything ok. Upgrade 4.15.9 to 5.0.23 to 5.0.24 everthing ok. 5.0.24 to 5.0.25 empty settings.

Proposed solution

No response

rioloo commented 1 week ago

Hello, I have the same issue.

Any hint?

evilaliv3 commented 1 week ago

Thank you for reporting this.

We do not experience similar situations. Are you able to check if you have any exception in your javascript console_

evilaliv3 commented 1 week ago

Bug identified.

Using a functionality of angular that optimizes images loading seems to cause this behaviour in relation to the timing of the loading (NgOptimizedImage)

We will issue a release 5.0.26 to fix this by today.

The angular exception also in your case should be something like this i guess:

    at E.setHostAttributes (common.mjs:6362:55)
    at E.ngOnInit (common.mjs:6353:14)
    at Nd (core.mjs:5154:14)
    at Yc (core.mjs:5181:13)
    at il (core.mjs:5135:17)
    at Vl (core.mjs:5085:9)
    at KC (core.mjs:13792:21)
    at ng (core.mjs:13993:9)
    at x0 (core.mjs:13953:5)
    at k0 (core.mjs:13912:13)
handleError @ core.mjs:7404

shoutout to @rglauco for supporting the debugging and the retesting of this fix!

evilaliv3 commented 1 week ago

Fix included in upcoming release 5.0.26 that is going to be released by tonight.