[Chameleon-dev] [Bug 1229] md5_file warnings

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Mar 20 04:45:19 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1229

bartvde at xs4all.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|chameleon-                  |bartvde at xs4all.nl
                   |dev at lists.maptools.org      |



------- Additional Comments From bartvde at xs4all.nl  2006-03-20 04:45 -------
I have tracked this one down successfully.

This is caused by the WMSBrowser widget, which passes in an empty string as
$szTemplateName:

$oApp->CWCInitialize("", $szMapName);

Instead WMSBrowser uses CWCAddRegionalTemplate calls to set the templates, which
 seems perfectly valid to me.

The MLT code in chameleon.php (CWCInitialize function) should use
$this->mszTemplateName in the md5_file call instead of the function argument
$szTemplateName!

$szUniqueFileName .= md5_file( $this->mszTemplateName ).'_mlt.inc.php';

I will fix this in CVS soon.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list