PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001361PacketFenceweb adminpublic2012-01-10 11:122012-02-28 14:31
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.2.0Fixed in Version3.2.0 
Summary0001361: Emptying a configuration parameter doesn't work from web admin and pfcmd
DescriptionFor example:

Trying to get rid of guest self registration from the web admin results in:

Unable to change guests_self_registration_modes from 'sms,email' to ''

Trying from the command line (pfcmd config set ...) also fails. Actually the problem resides there.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision377963591ecec0fca3d69c17e54aa0c51b3257ea
Attached Files

- Relationships

-  Notes
(0002558)
obilodeau (reporter)
2012-01-29 13:42

I have a regression test ready. The problem is in the parameter parser (grammar). Not sure how I'll fix it yet.
(0002564)
obilodeau (reporter)
2012-02-01 14:45

Turns out that making pfcmd accept empty values was easy but now in the interface there's a problem: it can't differentiate an empty value from a default value.
(0002565)
obilodeau (reporter)
2012-02-01 15:45

I am adding a enable/disable flag under [registration] instead. It makes a lot more sense to go that way.
(0002567)
obilodeau (reporter)
2012-02-03 16:37

enabled / disabled flag created that controls self guest registration. No need to set to "" now.
(0002588)
obilodeau (reporter)
2012-02-28 14:31

Fixed in recently released 3.2.0.

- Issue History
Date Modified Username Field Change
2012-01-10 11:12 obilodeau New Issue
2012-01-10 11:12 obilodeau Status new => assigned
2012-01-10 11:12 obilodeau Assigned To => obilodeau
2012-01-29 13:42 obilodeau Note Added: 0002558
2012-02-01 14:45 obilodeau Note Added: 0002564
2012-02-01 15:45 obilodeau Note Added: 0002565
2012-02-03 16:37 obilodeau Note Added: 0002567
2012-02-03 16:37 obilodeau Status assigned => resolved
2012-02-03 16:37 obilodeau Fixed in Version => trunk
2012-02-03 16:37 obilodeau Resolution open => fixed
2012-02-03 16:38 obilodeau mtn revision => 377963591ecec0fca3d69c17e54aa0c51b3257ea
2012-02-28 14:22 obilodeau Target Version +1 => 3.2.0
2012-02-28 14:22 obilodeau Fixed in Version trunk => 3.2.0
2012-02-28 14:31 obilodeau Note Added: 0002588
2012-02-28 14:31 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker