Opened 19 years ago

Closed 19 years ago

#1152 closed defect (fixed)

GetCapabiltiies errors when compiling with FASTCGI enabled

Reported by: bartvde@… Owned by: warmerdam
Priority: high Milestone: 4.6 release
Component: WMS Server Version: 4.4
Severity: normal Keywords:
Cc:

Description

When I try to run a WMS GetCapabilities, my capabilities are mucked up. If I
comment the FASTCGI support in the makefile, and recompile, the WMS
GetCapabilities work as expected.
 
This is the mucked up part (the last line should be where UserLayer= ends):
 
  <UserDefinedSymbolization SupportSLD="1" UserLayer=        <Style>
          <Name>default</Name>
          <Title>default</Title>
        </Style>
"0" UserStyle="1" RemoteWFS="0"/>

Okay, found out this is caused by some old fprintf calls in mapwms.c.
 
Replacing them with msIO_fprintf solves my WMS Capabilities problem.
 
This is also still a problem in the current CVS release (I checked the nightly
just now).

Attachments (1)

sqlresult.log (49.9 KB ) - added by bartvde@… 19 years ago.
spool from sqlplus with query result

Download all attachments as: .zip

Change History (7)

comment:1 by dmorissette, 19 years ago

Milestone: 4.6 release
Is it safe to just replace those old fprintf() calls with msIO_fprintf()? Is
there a reason why they were not replaced initially? Or is this just the result
of a collision of changes in CVS?

I think this needs to be fixed in both 4.4.x and 4.6

comment:2 by fwarmerdam, 19 years ago

Cc: mapserver-bugs@… added
Owner: changed from mapserverbugs to fwarmerdam
I believe the problem was caused by style related work going on at the same
time as my msIO_ changes.  I will change the fprintfs to msIO_fprintfs
4.5 and the 4.4 branch so this will be corrected for 4.4.2.

Sorry for the delay in following up on this.  Thanks for digging in and figuring
out the issue Bart!

comment:3 by fwarmerdam, 19 years ago

Status: newassigned

comment:4 by fwarmerdam, 19 years ago

Fixed in 4.5 and 4.4.2 though I havent' actually tested it in either 
environment.  I'm going to leave this open till Bart or I have a chance to 
test it.  

by bartvde@…, 19 years ago

Attachment: sqlresult.log added

spool from sqlplus with query result

comment:5 by bartvde@…, 19 years ago

attachments.isobsolete: 01
(From update of attachment 284)
This was attached to the wrong bug number, sorry. Should be 1109.

comment:6 by bartvde@…, 19 years ago

Resolution: fixed
Status: assignedclosed
Frank, I tested this with Mapserver CVS a few days ago, no problems anymore.
Setting status to FIXED.
Note: See TracTickets for help on using tickets.