Comments (4)
This one is interesting..
Applying a backup means writing all the files from a .fpm
in Fennec's internal storage
For this we first are to delete all said internal storage files
Using java.io.File.delete
, recursive calls done here. Calls that for whatever reason fail on some devices.
Then when we are trying to copy the new files this call throws.
After further investigations I found that our "lib" directory seems to be a symlink. For which we might indeed not have the right permissions. :-?
from fennec-profile-manager.
ref #42
from fennec-profile-manager.
Waiting for a confirmation from QA that all looks good now.
Based on the stacktrace and my investigation this is beyond strange so most I could do is just ignore such an exception if
- the needed file exists
- is not empty
- we can't write to it
All of the above should ensure that the file "should" be what the app needs and if based on the stracktrace and my findings this issue would only happen with app libs I think it's ok to ignore this issue in such cases.
Otherwise the app would still crash giving us the possibility to investigate more the crash cause.
from fennec-profile-manager.
Verified as fixed on FPM build 7, "apply" works as expected.
Devices:
- Motorola Moto G6 (Android 8.0),
- Huawei Honor 8 (Android 7.0),
- HTC Desire 820 (Android 6.0.1),
- Samsung Galaxy Tab A 6 (Android 5.1.1).
from fennec-profile-manager.
Related Issues (20)
- Error message displayed when dismissing Import with the device back button HOT 1
- Throbber icon from creating/apply a backup is freezing HOT 4
- Shared user ids not correct for release variants
- Implement backup signature depending upon variant
- Fix backup_row layout after merge
- [regression] FPM crashes when tapping on Share button HOT 1
- The backups list UI is different for imported backups HOT 2
- [regression] The permission storage pop-up is not displayed HOT 1
- For more than 9 backups, the buttons "Import" and "Create" are overlapping the last entry HOT 2
- The imported backups are blank HOT 2
- [FPM] Space between characters can be added when editing backup names. HOT 2
- Move secret key to config file
- FPM crashes when the backup created is applied HOT 2
- The backups with edited name are saved without the .fpm extension HOT 1
- Only the last backup is displayed if we add/import/edit multiple backups with the same name HOT 2
- FPM crashes with OutOfMemoryError when applying backups HOT 6
- The imported backups size are not aligned with the existing ones HOT 2
- Backup name is updated if the title is not changed and "OK" option is tapped HOT 3
- Remove the "Share" functionality HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fennec-profile-manager.