Bug #4603

Existing shared media disappear with new secure store code

Added by n8fr8 almost 3 years ago. Updated over 2 years ago.

Status:FeedbackStart date:02/25/2015
Priority:NormalDue date:02/25/2015
Assignee:hans% Done:

0%

Category:-
Target version:v15 - AWESOME APP
Component:

Description

From testing of this: https://github.com/guardianproject/ChatSecureAndroid/pull/634

After building/upgrading, I opened an existing chat session. All the existing shared photos did not show up anymore (as you can see in the attached screenshot from the blank / empty messages).

I can share a new photo, and that is persisted.

So it seems the existing media store was somehow ignored or removed, and a new one in a new path perhaps was created.

Screenshot_2015-02-25-12-12-26.png (124 KB) n8fr8, 02/25/2015 05:13 pm

History

#1 Updated by hans almost 3 years ago

Just to rehash what we discussed, my guess is that your device here had a media store file on both the internal and external storage, since it had the flaky SD card. If the SD card was not mounted when ChatSecure started one time, then ChatSecure would have created a new media store on the internal storage. Then if you started the version of ChatSecure in this pull request when the SD card was mounted, then ChatSecure would find a media store on both the internal and external storage. And it prefers the internal storage since that's less troublesome.

But it is probably more likely that people have more data in the External Storage. Hard decision. In the long run, it'll be more relaible if the media store is on the internal storage.

#2 Updated by n8fr8 over 2 years ago

  • Target version changed from v14 - Armadillo's Agram to v14.2 bug fix update!

#3 Updated by n8fr8 over 2 years ago

  • Status changed from New to Feedback

We can talk about this more as part of v15. for now, i am happy with this response.

#4 Updated by n8fr8 over 2 years ago

  • Target version changed from v14.2 bug fix update! to v15 - AWESOME APP

Also available in: Atom PDF