PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001265PacketFenceweb adminpublic2011-09-08 16:452011-09-21 22:16
Reporterfgaudreault 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiondevel 
Target VersionFixed in Version3.0.0 
Summary0001265: Deleting a person with node associated to it silently fails
DescriptionOn the admin ui, when you try to delete a person that has nodes associated with this pid, it will silently fail on the GUI, but will print something in the packetfence logs.
Additional InformationThis is the code snippet in pf/person.pm :


    my @nodes = person_nodes($pid);
    if ( scalar(@nodes) > 0 ) {
        $logger->error( "person $pid has "
                . scalar(@nodes)
                . " node(s) registered in its name. Person deletion prohibited"
        );
        return 0;
    }
TagsNo tags attached.
fixed in git revision
fixed in mtn revision1481fe59a8d55b069a4ae58064891ac87843d50e
Attached Files

- Relationships

-  Notes
(0002207)
obilodeau (reporter)
2011-09-14 17:09

fixed
(0002234)
obilodeau (reporter)
2011-09-21 22:15

fix released in 3.0

- Issue History
Date Modified Username Field Change
2011-09-08 16:45 fgaudreault New Issue
2011-09-14 17:09 obilodeau mtn revision => 1481fe59a8d55b069a4ae58064891ac87843d50e
2011-09-14 17:09 obilodeau Note Added: 0002207
2011-09-14 17:09 obilodeau Status new => resolved
2011-09-14 17:09 obilodeau Fixed in Version => trunk
2011-09-14 17:09 obilodeau Resolution open => fixed
2011-09-14 17:09 obilodeau Assigned To => obilodeau
2011-09-21 22:07 obilodeau Fixed in Version trunk => 3.0.0
2011-09-21 22:15 obilodeau Note Added: 0002234
2011-09-21 22:16 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker