Anonymous | Login | 2024-11-22 03:31 EST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0001393 | PacketFence | captive portal | public | 2012-03-06 15:55 | 2012-04-18 10:00 | |||
Reporter | dwuelfrath | |||||||
Assigned To | dwuelfrath | |||||||
Priority | normal | Severity | minor | Reproducibility | always | |||
Status | closed | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | devel | |||||||
Target Version | 3.3.0 | Fixed in Version | 3.3.0 | |||||
Summary | 0001393: Cancel button on mobile confirmation guest page | |||||||
Description | When hitting the cancel button on the guest self-registration mobile confirmation page, pf::web::generate_registration_page is called even if $Config{'registration'}{'nbregpages'} is equal to 0. | |||||||
Steps To Reproduce | Hit Cancel on the mobile confirmation page (guest self-registration) and you'll be redirected to the multiple pages registration process. | |||||||
Additional Information | If in the case you don't have the multiple pages registration process, you'll reach an error clicking "Next page". | |||||||
Tags | No tags attached. | |||||||
fixed in git revision | 0115ce1b1a6d264cf77d1ca8e8e8e6315ebec5f5 | |||||||
fixed in mtn revision | ||||||||
Attached Files | ||||||||
Notes | |
(0002601) dwuelfrath (administrator) 2012-03-06 16:00 |
Current behavior: # Handling Cancel first if (defined($cgi->param("action")) && $cgi->param("action") eq 'Cancel') { $session->clear(["pin"]); pf::web::generate_registration_page($cgi, $session, $destination_url, $mac,1); return (0); } Needs to be: # Handling Cancel first if (defined($cgi->param("action")) && $cgi->param("action") eq 'Cancel') { $session->clear(["pin"]); if ($Config{'registration'}{'nbregpages'} == 0) { $logger->info("$mac redirected to authentication page"); pf::web::generate_login_page($cgi, $session, $destination_url, $mac); return (0); } else { $logger->info("$mac redirected to multi-page registration process"); pf::web::generate_registration_page($cgi, $session, $destination_url, $mac); return (0); } } |
(0002602) dwuelfrath (administrator) 2012-03-06 16:10 |
After discussion: Current: Current behavior: # Handling Cancel first if (defined($cgi->param("action")) && $cgi->param("action") eq 'Cancel') { $session->clear(["pin"]); pf::web::generate_registration_page($cgi, $session, $destination_url, $mac,1); return (0); } Will be: Current behavior: # Handling Cancel first if (defined($cgi->param("action")) && $cgi->param("action") eq 'Cancel') { $session->clear(["pin"]); pf::web::guest::generate_registration_page($cgi, $session, $destination_url, $mac,1); return (0); } |
(0002628) obilodeau (reporter) 2012-03-28 15:05 |
additionally translated buttons don't trigger proper actions (because $cgi->param("action") will not equal 'Cancel', it will be 'Annuler' in french) remember to change it in both location |
(0002629) obilodeau (reporter) 2012-03-29 12:19 |
After some discussion, we decided to get rid of the button entirely. People who want it can add a link in the template and decide where they prefer to redirect. |
(0002630) obilodeau (reporter) 2012-03-29 12:25 |
fixed in stable |
(0002655) obilodeau (reporter) 2012-04-18 09:59 |
fix released in 3.3.0 last friday |
Issue History | |||
Date Modified | Username | Field | Change |
2012-03-06 15:55 | dwuelfrath | New Issue | |
2012-03-06 16:00 | dwuelfrath | Note Added: 0002601 | |
2012-03-06 16:10 | dwuelfrath | Note Added: 0002602 | |
2012-03-06 16:15 | dwuelfrath | Assigned To | => dwuelfrath |
2012-03-06 16:15 | dwuelfrath | Status | new => assigned |
2012-03-28 15:05 | obilodeau | Note Added: 0002628 | |
2012-03-29 12:19 | obilodeau | Note Added: 0002629 | |
2012-03-29 12:25 | obilodeau | git revision | => 0115ce1b1a6d264cf77d1ca8e8e8e6315ebec5f5 |
2012-03-29 12:25 | obilodeau | Note Added: 0002630 | |
2012-03-29 12:25 | obilodeau | Status | assigned => resolved |
2012-03-29 12:25 | obilodeau | Fixed in Version | => +1 |
2012-03-29 12:25 | obilodeau | Resolution | open => fixed |
2012-04-18 09:51 | obilodeau | Target Version | => 3.3.0 |
2012-04-18 09:51 | obilodeau | Fixed in Version | +1 => 3.3.0 |
2012-04-18 09:59 | obilodeau | Note Added: 0002655 | |
2012-04-18 10:00 | obilodeau | Status | resolved => closed |
Copyright © 2000 - 2012 MantisBT Group |