Question About PreOpenStack
gregory.lypny at videotron.ca
Sun Sep 11 14:43:19 EDT 2011
I had posted this right (see below) after you in message 21. On reflection, the behaviour makes sense, and so does Mark’s suggestion that I move the main stack’s OpenStack handler to the card script.
> Hi Mark and Jacqueline,
> The substacks had PreOpenStack handlers that called a library stack and sometimes emptied out some fields, but what they did not have OpenStack handlers. The absence of OpenStack handlers appears to have been the problem because, after the the sub-stack executes its own PreOpenStack, the main stack, for whatever reason, executes its OpenStack. This, of course, can be disastrous if the main stack is intended to initialize an app or perhaps contains sensitive material that should not be revisited! My fix is to include an OpenStack handler with nothing in it in every sub-stack in order to trap the message.
> on OpenStack
> ? Do nothing
> end OpenStack
On Sun, Sep 11, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote:
> Gregory, do you understand these nuances? Or is my original test, a simple mainStack/subStack file with a preOpenStack handler in each stack script, basically what you already have? Write back...
> Craig Newman
More information about the Use-livecode