Custom property retrieval incorrect

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Thu Apr 27 16:00:33 EDT 2023


I just created a stack in LC 10DP5 without setting any property and run  
put the cVersion of this stack    
while the stack was show as the target in messagebox and it returned 1.0.4

When i do this in 9.6.9 it returns 3.0.9.

And now if i repeat it in 10DP5 it returns also 3.0.9

without having set cVersion.




> Am 27.04.2023 um 21:50 schrieb J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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