fire-eggs / FamilyLines

A free, open-source genealogy application to track, organize, and share your family history.
13 stars 1 forks source link

File Open Fails #23

Closed fire-eggs closed 7 years ago

fire-eggs commented 7 years ago

CodeFuglee[CodePlex]
A .familyx files will not open in application.

fire-eggs commented 7 years ago

CodeFuglee[CodePlex]
Comment added by notonyournelly

See People.cs, LoadOPC. I added a check for an unknown version (a side-effect of a change in the file format by My Family Tree) as a failure-return. Try throwing other bogus files at the 'open' and see how it behaves. In MainWindow.xaml.cs, LoadFamily(), the code shows no indication to the user when fileLoaded is false.

fire-eggs commented 7 years ago

CodeFuglee[CodePlex]
Comment added by notonyournelly

Two part problem.

The file in question caused an exception. Exceptions during load fail silently.

fire-eggs commented 7 years ago

CodeFuglee[CodePlex]
Comment added by notonyournelly

Files created in prior versions of Family.Show won't open.