Lightbox stay black after Update to 19.1.0

27 views
Skip to first unread message

Curt

unread,
Nov 29, 2024, 3:34:41 AM11/29/24
to OpenOlat
Hi developer team
Thank you for the latest 19.1.0 release!black_lightbox.jpg I have the following question: After an update from 19.0.9 to 19.1.0 everything works fine so far. Except for the lightbox. When I open an existing PDF document, the lightbox opens, but the document itself is not displayed. I only get an empty, black lightbox.

What could be the reason for this? There is no indication in the log files. I am using the current version of Debian Bookworm with Tomkat 10.1 and Postgres 12.

THX!
Curt

Urs Hensler

unread,
Nov 29, 2024, 4:12:35 AM11/29/24
to open...@googlegroups.com
Hi

Does your (Apache) webserver deliver *.mjs files with a proper mime type? See https://track.frentix.com/issue/OO-8126

Kind regards,
Urs





On 29 Nov 2024, at 09:34, 'Curt' via OpenOlat <open...@googlegroups.com> wrote:

Hi developer team
Thank you for the latest 19.1.0 release!<black_lightbox.jpg> I have the following question: After an update from 19.0.9 to 19.1.0 everything works fine so far. Except for the lightbox. When I open an existing PDF document, the lightbox opens, but the document itself is not displayed. I only get an empty, black lightbox.


What could be the reason for this? There is no indication in the log files. I am using the current version of Debian Bookworm with Tomkat 10.1 and Postgres 12.

THX!
Curt

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openolat/e54f8b93-8d83-4e7c-b21d-ef0be25b39b1n%40googlegroups.com.
<black_lightbox.jpg>

Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Curt

unread,
Dec 3, 2024, 3:36:07 AM12/3/24
to OpenOlat
It was due to the missing entry in the web.xml:

    <mime-mapping>
        <extension>mjs</extension>
        <mime-type>application/javascript</mime-type>
    </mime-mapping>

best regards,  curt

Reply all
Reply to author
Forward
0 new messages