More Sample Stacks weirdness - unable to upload previously deleted content

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderator: Klaus

Post Reply
stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

More Sample Stacks weirdness - unable to upload previously deleted content

Post by stam » Tue Mar 15, 2022 2:32 am

Hi all,
I'm not on good terms with Sample Stacks in version 10 DP2 it seems...

I had uploaded a utility stack to copy/clone data grids but realised there was an issue with the code - as i didn't have time to fix it right then, i deleted this off Sample Stacks to ensure it didn't cause problems should anyone download it, with the intention of re-uploading after fixing the issue, which i now have done.

Unfortunately it now seems that if i try and upload the fixed version it fails with a status message 'This stack has already been uploaded to revOnline' and instead of uploading, it shows me some random stack. Obviously if i search for this supposedly uploaded stack, nothing shows up (as i deleted it using the stack function...)

Changing either the stack name, file name or both makes no difference; saving as a new stack and trying again makes no difference. Restarting LC makes no difference either.

This is most certainly incorrect behaviour - but not sure if it's just me, or if its just 10 DP2 or affects earlier versions as well...
Can anyone replicate this?
Many thanks
Stam

stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

Re: More Sample Stacks weirdness - unable to upload previously deleted content

Post by stam » Tue Mar 15, 2022 4:18 am

The workaround was to create a new stack and copy everything across from the old stack and then upload.
Some how it seems to have mystically marked the stack through some means not really apparent to me (and judging by some previous posts i found on this, to others either)
Not really acceptable in this day and age (and really when was this ever acceptable!?)

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: More Sample Stacks weirdness - unable to upload previously deleted content

Post by jacque » Tue Mar 15, 2022 5:50 pm

If I remember right there's an ID stored in a custom stack property somewhere. That tells Sample Stacks that the the upload exists. However it really should allow you to update an existing stack.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply