|Anonymous | Login||2023-12-05 03:49 EST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001683||PacketFence||captive portal||public||2013-08-13 09:27||2013-09-13 10:08|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Target Version||Fixed in Version||4.0.6|
|Summary||0001683: Self-registration page shown even if no external source exists|
|Description||When updating from 4.0.1 to 4.0.5-2 there is a new feature :|
"Self-registration is now enabled when a profile has at least one external authentication source" introduced in 4.0.4
I have no external source, but still get the guest/self-registration page.
I was feeling lucky and tried creating then removing external sources, or simply creating new internal sources, but it didn't work either.
I tried to add sources to the profile but was blocked by another bug : http://www.packetfence.org/bugs/view.php?id=1682 [^]
This bug is tricky as I also encouter this one :
|Tags||No tags attached.|
|fixed in git revision|
|fixed in mtn revision|
Relevant lines in packetfence.log:
Aug 13 15:06:33 redir.cgi(0) INFO: aa:bb:cc:dd:ee:ff being redirected (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_html_captive_2dportal_redir_2ecgi::handler)
Aug 13 15:06:33 redir.cgi(0) INFO: aa:bb:cc:dd:ee:ff redirected to guests self registration page (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_html_captive_2dportal_redir_2ecgi::handler)
Aug 13 15:06:33 redir.cgi(0) INFO: generate_selfregistration_page (pf::web::guest::generate_selfregistration_page)
Aug 13 15:06:33 redir.cgi(0) ERROR: No source of type 'SMS' defined for profile 'default' (pf::Portal::Profile::getSourceByType)
This line also seems to be linked in portal_error_log (it appears at the same time):
Use of uninitialized value in subroutine entry at /usr/local/pf/lib/pf/web/dispatcher.pm line 68.
After solving http://www.packetfence.org/bugs/view.php?id=1682, [^] I can say it happens only when no authentication source is selected.
Therefore the problem was caused by bug 1682.
Here, there's no important problem (it works fine if you have selected a source), but we can think about the behaviour of the captive portal when no authentication source is selected.
|By the way, I can't decrease severity ;)|
|2013-08-13 09:27||Sylvain||New Issue|
|2013-08-13 09:39||Sylvain||Note Added: 0003395|
|2013-08-19 10:59||Sylvain||Note Added: 0003417|
|2013-08-19 10:59||Sylvain||Note Added: 0003418|
|2013-09-13 10:08||francis||Status||new => resolved|
|2013-09-13 10:08||francis||Fixed in Version||=> 4.0.6|
|2013-09-13 10:08||francis||Resolution||open => fixed|
|2013-09-13 10:08||francis||Assigned To||=> francis|
|Copyright © 2000 - 2012 MantisBT Group|