paulhsu / csipsimple

Automatically exported from code.google.com/p/csipsimple
1 stars 1 forks source link

Crash on downgrade #1964

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install latest CSipSimple and configure it
2. Downgrade to r1762 or earlier, to test/diagnose a regression.
3. Observe that CSipSimple silently fails to start
4. Clear all settings.
5. Observe that it now works

(this was done in issue #1963)

I have a vague recollection of seeing the same thing in the past; that this 
isn't just a bug which was fixed in r1763, but a generic failure to be 
forward-compatible in its configuration.

If new options are added that the older CSipSimple doesn't understand, it could 
just ignore them. The basic configuration should still be fine. Especially as I 
actually did configure it originally with the old version, IIRC. I don't recall 
changing anything since updating to a newer version, so there shouldn't be 
anything special and new in my configuration *anyway*.

Original issue reported on code.google.com by dwmw2b@gmail.com on 16 Sep 2012 at 6:50

GoogleCodeExporter commented 9 years ago
Ok thanks for the report. If you have crash logs of that I'll be interested 
(could save me time to see directly what happens).

However, what I'm a little bit puzzled with is that normally android system 
should not allow to downgrade. 
There is something that is clearly upgradable but not downgradable. It's 
databases. If databases has more fields than expected it goes in messed state. 
That's a case android SDK (actually sqlite) doesn't manage. That's why I didn't 
tried such tests. But if you are able to downgrade (with android system -- not 
an app that gets root permissions) maybe I should have a look on that.

Normally downgrade process I supported for now was :
 * Backup configuration (in accounts view, press menu > backup)
 * Uninstall the app
 * install older
 * restore (in account view, press menu restore)

Original comment by r3gis...@gmail.com on 16 Sep 2012 at 9:10

GoogleCodeExporter commented 9 years ago
I didn't do anything special to downgrade; I pointed the web browser at the 
nightlies site, picked an apk from the list, downloaded and then installed it. 
It seemed to downgrade happily. This is ICS on a Samsung Galaxy S2. Rooted, but 
that shouldn't be relevant.

Original comment by dwmw2b@gmail.com on 16 Sep 2012 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2015 at 11:30