Custom property retrieval incorrect
Mark Waddingham
mark at livecode.com
Thu Apr 27 17:18:25 EDT 2023
Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler.
Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension.
An easy way to find out is to temporarily rename the ‘My LiveCode’ folder and restart the IDE to see if it still happens…
Warmest Regards,
Mark
Sent from my iPhone
> On 27 Apr 2023, at 20:51, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I have a custom stack property called "cVersion" that is used to determine update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is returned incorrectly.
>
> I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the message box and from a handler. In both the message box and in a script it returns 3.0.9. I saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't know where these numbers are coming from.
>
> There are three substacks but none of them have any custom properties at all. When I open the stack property inspector it does correctly say "3.0.0".
>
> I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new launch.
>
> I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other custom stack properties also retrieve correctly, it is only this particular one that fails.
>
> Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list