PacketFence - BTS - PacketFence
View Issue Details
0001507PacketFencepublic2012-08-08 10:462012-09-06 10:57
obilodeau 
obilodeau 
highminoralways
closedfixed 
3.5.0 
3.5.13.5.1 
6a7cdad
0001507: Web extension point (pf::web::custom) no longer works in 3.5.0
The newly added Portal Profiles feature introduced the problem. The order of importation causes pf::web::custom to be compiled before pf::web. Making the latter a refused redefinition of the first.

Because of a readily available and simple work-around, we will fix the issue in a clean way: getting rid of Portal::Session's dependency on the pf::web code. To do so there's only one task remaining: killing the last caller on get_client_ip in pf::web and moving that code in Portal::Session. 0001485 describe this de-coupling effort in more details.
Easy workaround available:

Comment the line 'use pf::web::custom' in lib/pf/Portal/Session.pm

If you customized get_client_ip, you'll need to copy your customization in pf::web since it won't be in effect anymore.
No tags attached.
related to 0001485resolved  pf::web::guest / admin guest creation need some kind of separation 
Issue History
2012-08-08 10:46obilodeauNew Issue
2012-08-08 10:49obilodeauRelationship addedrelated to 0001485
2012-08-08 10:50obilodeauDescription Updated
2012-08-08 10:50obilodeauAdditional Information Updated
2012-08-27 11:35obilodeauStatusnew => assigned
2012-08-27 11:35obilodeauAssigned To => obilodeau
2012-08-27 13:34obilodeaugit revision => 6a7cdad
2012-08-27 13:34obilodeauNote Added: 0002971
2012-08-27 13:34obilodeauStatusassigned => resolved
2012-08-27 13:34obilodeauFixed in Version => +1
2012-08-27 13:34obilodeauResolutionopen => fixed
2012-09-06 10:56obilodeauTarget Version+1 => 3.5.1
2012-09-06 10:56obilodeauFixed in Version+1 => 3.5.1
2012-09-06 10:57obilodeauNote Added: 0003018
2012-09-06 10:57obilodeauStatusresolved => closed

Notes
(0002971)
obilodeau   
2012-08-27 13:34   
work-around applied to stable
(0003018)
obilodeau   
2012-09-06 10:57   
fix released in 3.5.1 yesterday