SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004114: Guests are not charged in ASA if the ticket templates are renamed - MantisBT
MantisBT - Endian Firewall
View Issue Details
0004114Endian FirewallHotspotpublic2011-08-12 17:062011-09-26 08:47
0004114: Guests are not charged in ASA if the ticket templates are renamed
To reproduce:
- create a ticket template on the efw and use it to surf with an asa guest
- check asa >> the amount is charged
- rename the ticket template and create another template with the name equal to the first one
- use it to surf with the same asa guest

- the amount is not charged
Simon's comments:
old postpaid tickets have to get expired for asa users and prepaid tickets not added if there is a prepaid ticket left
No tags attached.
child of 0003541confirmed simon-endian Improve ASA interfacement 
Issue History
2011-08-12 17:06lorenzo-endianNew Issue
2011-08-12 17:07lorenzo-endianAssigned To => simon-endian
2011-08-12 17:07lorenzo-endianStatusnew => confirmed
2011-08-12 17:07lorenzo-endianRelationship addedchild of 0003541
2011-08-12 21:13simon-endianNote Added: 0007313
2011-09-26 08:47simon-endianStatusconfirmed => resolved
2011-09-26 08:47simon-endianFixed in Version => 2.3.1
2011-09-26 08:47simon-endianResolutionopen => fixed

2011-08-12 21:13   
a quickfix for now would be:
- if the asa rate is prepaid:
check if the user has surf time left and only add a ticket if he does not
- if the asa rate is postpaid:
check if the user already has a postpaid ticket.
if it is of the same rate do not add when.
if it is from another rate add one and expire/delete all other postpaid tickets

problem at the moment:
- if the asa rate is changed a user which already logged in once will use the old postpaid ticket, because it is not expired
- on each login a prepaid/postpaid ticket is added which could lead to many ticket entries where for postpaid only the first is used and the rest not