Page 1 of 2

Crash during export ~ reference tasks

Posted: Wed Sep 25, 2019 9:24 pm
by JonR
Dan

Feel bad, I broke it again! But this seems straightforward - I was exporting a set of parents along with their children, each to a new separate list file. Then one time it crashed. Trying to reopen the newly created list also crashed.

I found a reference link task within the tree and by chance moved it out. Retrying the export of that parent with its tree of children then worked without crashing!

So it seems the reference link broke the new list because the source item was not exported along with it?

Thanks,

Jon

Re: Crash during export ~ reference tasks

Posted: Thu Sep 26, 2019 3:27 am
by abstr
Hi Jon

This sounds very familiar so I suspect that I have already fixed it in 7.3 but perhaps didn't fix 7.2 because the changes required were significant and I thought it an unusual edge case.

Seems you have become the de-facto 'canary in the coal mine' for finding edge cases ;)

Re: Crash during export ~ reference tasks

Posted: Thu Sep 26, 2019 9:27 am
by JonR
Dan -Thanks. Looking forward to 7.3 even more. Are you calling it NG or did I imagine that?

Wry but too accurate - Canary, more like albatross... if I could only get a job where breaking things was rewarded!

Jon

Re: Crash during export ~ reference tasks

Posted: Thu Sep 26, 2019 10:39 am
by abstr
I've uncompleted it because I may yet fix it in 7.2

Re: Crash during export ~ reference tasks

Posted: Thu Sep 26, 2019 10:45 am
by abstr
Hmm, I just tried to reproduce this in 7.2.16 but was unable to.

If you have time can you:

1. Take './Resources/Examples/Introduction.tdl'
2. Add some references to create the problem
3. Attach the file here together with the steps to reproduce.

Re: Crash during export ~ reference tasks

Posted: Thu Sep 26, 2019 11:17 am
by JonR
Hi - For me it happened exactly the same. Crashed on export then refused to open as exported file.

Maybe I should also mention I turned on the setting to permit multiple instances recently and noticed that the exported files are opened (or tried to be) in a second TDL instance...

Also that the thing that I added to the exported tree is the link back to a source item. If that makes a difference.

Hope that helps.

Jon

Re: Crash during export ~ reference tasks

Posted: Fri Sep 27, 2019 3:52 am
by abstr
Hmm... Still can't reproduce it.

Can you record a bug report (Help > Record Bug Report), zip it up and attach it here please?

Re: Crash during export ~ reference tasks

Posted: Fri Sep 27, 2019 7:26 am
by JonR
Dan
Wow, never done that before, what a useful app!

So I did the 'error' steps and then tried to reopen the file. Still both crashing.
Then I did a test again with NO link and voila it works. (Showing it's not something else going on)

Thanks,

Jon

Re: Crash during export ~ reference tasks

Posted: Sat Sep 28, 2019 9:31 am
by abstr
I see that you are using 7.2.14.

In 7.2.15 I added a fix that prevents 'orphan' reference tasks ever appearing in the UI ie. they get stripped out when the tasklist is loaded.

This is why I couldn't reproduce your problem :)

So now what I need to understand is how you came to have an orphan reference in the first place because these should also be impossible...

Re: Crash during export ~ reference tasks

Posted: Sat Sep 28, 2019 1:19 pm
by JonR
Hi,

Sorry I thought I was up to date with updates.

As for the orphan thing I'm a bit confused but it wasn't an orphan until the subset of tasks was exported. At that point it became an orphan I guess. But why crash-inducing?

So anyway I updated and now fixed - no problem!

In fact I am wondering if this update might fix my other bigger problem so time will tell.

All I can say (on re-reading the enormous list of tweaks and features from v17 which just reading took 20mins) is TDL is so powerful and convenient and customisable now, far beyond anything else out there. Not in the trade myself but it seems to me you truly have a gift!...

Thanks again,

Jon