PureMVC Architects Lounge

PureMVC Manifold => Bug Report => Topic started by: mazeroth on December 03, 2008, 08:11:55



Title: [ FIXED ] - Error running demo
Post by: mazeroth on December 03, 2008, 08:11:55
Just downloaded PureMVC version 1.0.1 and was trying the Zen Garden demo on my local machine running PHP 5.2.6 and I was getting the following notices:

Notice: Undefined index: startApplication in C:\Documents and Settings\jorivera\My Documents\htdocs\puremvc\org\puremvc\php\core\View.php on line 103

Notice: Undefined index: viewDataReady in C:\Documents and Settings\jorivera\My Documents\htdocs\puremvc\org\puremvc\php\core\View.php on line 103

I changed /core/View.php line 103 from:

if ($this->observerMap[ $notificationName ] != null)

To

if (isset($this->observerMap[ $notificationName ]) && $this->observerMap[ $notificationName ] != null)

And it seems to be working correctly now.

Thanks,

Joey (http://www.joeyrivera.com)


Title: Re: Possible error running demo
Post by: puremvc on December 04, 2008, 12:50:28
Thanks for this report and workaround, Joey.

-=Cliff>


Title: Re: Possible error running demo
Post by: hasan on December 10, 2008, 12:24:31
Hi Joey,

Thanks for the spot. We'll add this to the release real soon...