PacketFence - BTS - PacketFence
View Issue Details
0001068PacketFencecorepublic2010-09-14 15:112011-01-26 15:38
obilodeau 
obilodeau 
normaltrivialsometimes
closedfixed 
 
1.9.11.9.1 
ac261ee598f5cf3d73945aaa8079016f8e296fe5
0001068: print statement in pf::node::node_modify cause all sorts of problems
There are some tasks we have been working on where we faced problems that we tracked to the print statement in pf::node::node_modify.

- Putting the captive portal behind mod_perl for performance
- Using web services instead of raw SQL in our freeradius module (also behind mod_perl)

The error we face is that the code exercised makes a print statement before the HTTP Headers are sent by the SOAP stack which confuses the client-side.

One known regression if we were to remove this print statement is that pfdhcplistener relies on it to log stuff to stdout (which is redirected to a log file by packetfence) and there could be others...

Removing that statement will require us to carefully look at all node_modify's callers and understand if the print is a feature or not and perform the required to have the same print effect without disturbing apache/mod_perl.
No tags attached.
child of 0001010closed obilodeau several SOAP issues 
Issue History
2010-09-14 15:11obilodeauNew Issue
2010-09-14 15:11obilodeauStatusnew => assigned
2010-09-14 15:11obilodeauAssigned To => obilodeau
2010-09-14 15:12obilodeauRelationship addedchild of 0001010
2010-09-15 15:59obilodeauNote Added: 0001670
2010-09-15 17:17obilodeaumtn revision => ac261ee598f5cf3d73945aaa8079016f8e296fe5
2010-09-15 17:17obilodeauNote Added: 0001672
2010-09-15 17:17obilodeauStatusassigned => resolved
2010-09-15 17:17obilodeauFixed in Version => 1.9.1
2010-09-15 17:17obilodeauResolutionopen => fixed
2011-01-26 15:38obilodeauStatusresolved => closed

Notes
(0001670)
obilodeau   
2010-09-15 15:59   
and 'pfcmd node edit' calls too!
(0001672)
obilodeau   
2010-09-15 17:17   
Fix in branch 1.9. Did all that was required. See commit log entry for details.