[mapguide][MG291][New] layerdefinition.php uses localhost to try to load files. Th...

Alain Lebatard alain.lebatard at autodesk.com
Mon May 15 18:29:13 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG291

Type
 Defect

Artifact ID
 MG291 (layerdefinition.php uses localhost to try to load files.  This does not work for all situations.)

Reported by
 Alain Lebatard
 alainlebatard (alain.lebatard at autodesk.com)

New artifact details:
---------------------------------------------------------

- Description set to new value
  The file layerdefinitionfactory.php currently has lines like this
        $areaRule = file_get_contents("http://localhost/mapguide/viewerfiles/arearule.templ");

This works for local development on Windows but not on e.g. Apache.

As far as I know, this file is only used by the Developer Guide samples.  It is not used by anything in Tux itself.


- Summary set to new value
  layerdefinition.php uses localhost to try to load files.  This does not work for all situations.
- Subcomponent set to new value
  Web API
- Component set to new value
  Web Server Extensions
- Artifact Status set to new value
  New
- Version set to new value
  1.0.0
- Artifact created
- Defect Severity set to new value
  High
- Steps to Reproduce set to new value
  The file layerdefinitionfactory.php currently has lines like this
        $areaRule = file_get_contents("http://localhost/mapguide/viewerfiles/arearule.templ");

This works for local development on Windows but not on e.g. Apache.

As far as I know, this file is only used by the Developer Guide samples.  It is not used by anything in Tux itself.



---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list