nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
696 stars 1.7k forks source link

3.1.0.3 DEV-B AAPS restarts and kills db #2085

Closed robertrub closed 2 years ago

robertrub commented 2 years ago

Installation of dev-b makes AAPS restart all the time (probably kills the database).

Going back to dev-a, AAPS starts with an empty db.

Der-Schubi commented 2 years ago

Same here. FC.log

Der-Schubi commented 2 years ago

It's this commit from Monday: https://github.com/nightscout/AndroidAPS/commit/be30b3cd3de05db2589a5c6f5a7e3fc19544b930

app/src/main/java/info/nightscout/androidaps/receivers/BTReceiver.kt:

-        val device: BluetoothDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE) ?: return
+        val device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE, BluetoothDevice::class.java) ?: return
mick711 commented 2 years ago

Same problem need to go back and lost data

Der-Schubi commented 2 years ago

PR to fix this: https://github.com/nightscout/AndroidAPS/pull/2089