[Mapbender-dev] Re: [Mapbender] #626: Issues with setSpatial_Request and mod_wfs.php

Mapbender mapbender_dev at lists.osgeo.org
Fri Mar 12 10:55:30 EST 2010


#626: Issues with setSpatial_Request and mod_wfs.php
-------------------------+--------------------------------------------------
  Reporter:  mschulz     |       Owner:  dev        
      Type:  defect      |      Status:  closed     
  Priority:  major       |   Milestone:  2.7 release
 Component:  wfs         |     Version:  2.7 rc1    
Resolution:  worksforme  |    Keywords:             
-------------------------+--------------------------------------------------
Changes (by mschulz):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 I've come up with an ugly workaround, if someone stumbles into the same
 problem. I'm not going to commit this, since I think there should be a
 better solution.


 {{{
 --- mod_wfs.php (revision 5752)
 +++ mod_wfs.php (working copy)
 @@ -43,7 +43,12 @@
         var functionStatement = window.name+".fetchInf()";

         if(!parent.eventInit.isRegistered(functionStatement)){
 -               parent.mb_registerInitFunctions(functionStatement);
 +               if (parent.Mapbender.events.init.done === true) {
 +
 parent.mb_registerInitFunctions(functionStatement);
 +                       fetchInf();
 +               } else {
 +
 parent.mb_registerInitFunctions(functionStatement);
 +               }
         }
  }
  function fetchInf(){

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/626#comment:1>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list