-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
- --On 02.05.2002 14:03:18 +0200 Emiliano wrote:
>> Currently (in a version including this fix), objects inherited from
>> MidgardEvent were incomplete, causing a MGD_ERR_INVALID_OBJECT Error
>> due to the missing fields, took me a day to debug. Thats the main
>> reason I'm still telling the people to use such wrapper classes to
>> get a clean interface. I did not have time to really test the fixes
>> you made, and for the Websites we are currently running... Never
>> change a working system, you know ...
>
> Doesn't Zend inheritence bring in the attributes of the class being
> inherited?! Incredible.
As I've said, it could as well be a bug in the code I'm referring to.
I've not yet had time to track it down. But in the course of furter
MidCOM Developement I will most certainly take a look into this.
>> BTW: I've tracked down a MMP Bug concerning inheritance, and
>> currently I'm hunting the UDF Bug (current Midgard doesn't expand
>> them anymore). I've filed it into the bugtracker. If you at any time
>> come around to look at it, pleas give me a hint where to fix this.
>
> midgard/lib/src/preparse.l, line 47.
> &(var:xg) is changed inline to ${mgd_register_filter('g')}($var);
> which means 'get the result from mgd_register_filter('g') and use the
> returned string as a function to call on $var'.
I've found and fixed the UDF bug. Well, the two UDF Bugs actually. I'm
currently testing it, but I'll check it into CVS today. I will write a
mail to midgard-dev when I've done this.
The PHP Construct you're using didn't work for me on PHP 4.1.x, got an
Error stating an undefined function call to (). I couldn't find any
place in the PHP docs whrer the way you were using the variable
functions mechnism was mentioned that way.
I changed the implementation a little bit using a new php function
"mgd_execute_udf(var,selector)", which works fine.
> MMP doesn't really do anything different from non-MMP where
> inheritence is concerned.
See Bug
http://bugs.midgard-project.org/view_bug_advanced_page.php?f_id=0000072
I can definitly reproduce this behavoir. Short summary: When MMP is in
"cache mode", elements that should have been inherited from parent
pages are not loaded. (not yet tried that for styles).
Live long and prosper!
Torben Nehmer
- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iD8DBQE80S0WJPh4Kn6d5FYRAnirAJ4snjs2DGcQ0Ky8yRJ2O6tKh2XKUQCg1WFQ
JAXXLUeVf+oOx9qzKTuovag=
=fNz8
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]