Page 1 of 1

[solved] LC 8.1 dp 1 breaking changes?

Posted: Mon Jun 13, 2016 5:30 pm
by Ledigimate
Dear forum,

I don't know what it is, but something changed from LC 8.0.1 GM to LC 8.1 DP 1 that broke my app on Android. My standalone works perfectly when built with LC 8.0.1 GM, but the exact same project (with no alterations), when built with LC 8.1 DP 1, the app crashes during startup.

I can't post my stack here because it's proprietery, so I just would like to know one thing -- what exactly has changed from the previous version that could possibly require me to make any changes to my project or else cause my app to crash on startup?

Gerrie

Re: LC 8.1 dp 1 breaking changes?

Posted: Mon Jun 13, 2016 9:41 pm
by paul_gr
On the same page as the download is a link to the release notes for that version of LC.
Have a look to see if anything has changed that might stop your app working as expected.

Paul

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 8:19 am
by Ledigimate
Thank you, Paul.
I skimmed through the release notes and found nothing that suggests I make any changes to my project. I noticed the new inclusions tab but couldn't spot anything wrong there.
I hope this doesn't mean what I think it does. Here goes another day of chopping and stripping down my project card by card, handler by handler, until eventually, if ever, I find the culprit.

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 9:10 am
by bn
Hi Gerrie,

you might also want to have a look at Quality Control Center for bugs reported against versions after LC 8.0.1 GM

http://quality.livecode.com/buglist.cgi ... 0%20DP%201

if there is anything you find that applies to your app.

Just a thought.

Kind regards
Bernd

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 10:25 am
by Ledigimate
I have found that I just needed to remove at least one inclusion, build the standalone, add the inclusion back again and rebuild.
Now my the app works again.
So the inclusions tab addition actually required me to modify the inclusions, even if it was only to remove one and add it back again.

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 10:35 am
by bn
Hi Gerrie,

who would have thought of that?

If you have a reproducible recipe for this it would be well worth reporting to
http://quality.livecode.com

There is some work on improving inclusions of the standalone builder, maybe this is related?

Kind regards
Bernd

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 1:14 pm
by Ledigimate
Thank you guys.

I can only procude the bug with this one copy of my stack the way it was before its inclusions was altered. I tried to reproduce the bug with a new stack, but couldn't (yet). I would rather not spend too much time trying to reproduce it with a new stack because the problem stack has undergone a number of upgrades over several LiveCode versions (since LiveCode version 5.5.4) and it may require me to create a stack in each version and take them all through the same upgrade process. I'm too lazy for that.

If anyone else reading this encounters the same issue and can reproduce it, please tell us how.

Regards,

Gerrie

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 8:07 pm
by livecodeali
Hi Ledigimate,
If you could let me know *which* inclusion it was that would be great - should be enough to work out what the problem was!
Thanks,
Ali

Re: LC 8.1 dp 1 breaking changes?

Posted: Tue Jun 14, 2016 10:51 pm
by Ledigimate
Ali,

I've attached a dumbed down version of the stack that produces the bug.
If you build its Android standalone in LC 8.0.1 GM, it works on the device.
If you build its standalone in LC 8.1.0 DP 1 without altering the inclusions, it crashes on the device.
If you open the inclusions tab and just uncheck and recheck ANY of the inclusions, save, and then build the standalone, it works on the device.

I hope this can help you work out the problem.

Thanks and kind regards,

Gerrie

Re: LC 8.1 dp 1 breaking changes?

Posted: Wed Jun 15, 2016 4:26 pm
by livecodeali
Thanks very much, I've filed a bug report and fixed!
http://quality.livecode.com/show_bug.cgi?id=17856

Re: LC 8.1 dp 1 breaking changes?

Posted: Wed Jun 15, 2016 7:40 pm
by Ledigimate
Thanks Ali :D