Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001683PacketFencecaptive portalpublic2013-08-13 09:272013-09-13 10:08
Assigned Tofrancis 
PrioritynormalSeveritymajorReproducibilityhave not tried
PlatformOSOS Version
Product Version4.0.5 
Target VersionFixed in Version4.0.6 
Summary0001683: Self-registration page shown even if no external source exists
DescriptionWhen 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 : [^]

This bug is tricky as I also encouter this one : [^]

Best regards,

TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
Sylvain (reporter)
2013-08-13 09:39

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/ line 68.
Sylvain (reporter)
2013-08-19 10:59

After solving, [^] 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.
Sylvain (reporter)
2013-08-19 10:59

By the way, I can't decrease severity ;)

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker