Esri / Esri/data-collection-dotnet

Peculiar behaviors when deleting the offline map

Open
#78 4 comments 0 reactions 0 assignees View on GitHub
Priority - High Status - In Progress Type - Bug
Dominant language
C#
Stars
23
Forks
29
PR merge metrics
No merged PRs in 30d

Description

### On WPF:
If you delete the currently-stored offline map, the application will throw an I/O exception like this one:

![image](https://user-images.githubusercontent.com/25207711/67906996-9e584680-fb33-11e9-85f0-c4ccb2e97ffe.png)

Clicking 'OK' successfully restarts the app and reveals the offline map is indeed deleted.

However, attempting to take offline a new section of map throws this same exception. The behavior loops and I haven't figured out how to work offline yet because of it.

### On UWP:
If you delete the offline map, the application will crash right away.

The application can be re-launched just fine and reveals the offline map is indeed deleted, but on a few occasions, I've been re-prompted to sign in. Seems the crash may also force signing out the user?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing offline-map deletion separately on WPF and UWP, then inspect the reported I/O exception and crash behavior. Done means deleting the current map does not crash or create a loop, and taking a new map section offline works afterward without unexpectedly signing the user out.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.