Debian Patches

Status for ofono-phonesim/2.1-2

Patch Description Author Forwarded Bugs Origin Last update
0003-fix-exporting-of-child-widgets-to-javascrip.patch phonesim: fix exporting of child widgets to javascript engine
Using the example sms.js script in doc/scriptable.txt, the following
error occurs with phonesim built using Qt5.15:

Error org.ofono.phonesim.Error.ScriptExecError: /tmp/sms.js, line 1, TypeError: Cannot read property 'leMessageSender' of undefined

This is due to phonesim creating javascript objects for all the gui
tab widgets, but none of the child widgets inside of those tabs. So
in the javascript engine, 'tabSMS' is available, but its child widget
'gbMessage1' is undefined.

I'm not sure if this is related to behavior changes in current versions
of QJSEngine/UIC or what, but we can manually add all those widgets
to the javascript engine to fix this.
Andres Salomon <dilinger@queued.net> no 2025-12-29

All known versions for source package 'ofono-phonesim'

Links