meldsolutions/Meld-Gallery — pull request #8 by marbetschar (2012-09-10 19:07:31+00:00)
Title: Fix for issues #7, #4 and #6

I've fixed the issues #7, #4 and #6 claiming for views which are not present and prevent mura from an appreload.

The problem was, that the eventHandler.cfc does not preserve and restore the state of the request context before onApplicationStart and onSessionStart so this scope gets cluttered with information which afterwards prevents mura from working correctly.

Added/modified the following functions to the event.eventHandler.cfc to fix the issue:

init:
Does the initialization of the preserveKeys and the frameworkConfig.

preserveInternalState:
Responsible to preserve an internal state

restoreInternalState:
Responsible to restore an internal state

onApplicationLoad:
Preserving of the request state added

onGlobalSessionStart:
Preserving of the request state added