PacketFence - BTS - PacketFence
View Issue Details
0001265PacketFenceweb adminpublic2011-09-08 16:452011-09-21 22:16
fgaudreault 
obilodeau 
normalminoralways
closedfixed 
devel 
3.0.0 
1481fe59a8d55b069a4ae58064891ac87843d50e
0001265: Deleting a person with node associated to it silently fails
On 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.
This 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;
    }
No tags attached.
Issue History
2011-09-08 16:45fgaudreaultNew Issue
2011-09-14 17:09obilodeaumtn revision => 1481fe59a8d55b069a4ae58064891ac87843d50e
2011-09-14 17:09obilodeauNote Added: 0002207
2011-09-14 17:09obilodeauStatusnew => resolved
2011-09-14 17:09obilodeauFixed in Version => trunk
2011-09-14 17:09obilodeauResolutionopen => fixed
2011-09-14 17:09obilodeauAssigned To => obilodeau
2011-09-21 22:07obilodeauFixed in Versiontrunk => 3.0.0
2011-09-21 22:15obilodeauNote Added: 0002234
2011-09-21 22:16obilodeauStatusresolved => closed

Notes
(0002207)
obilodeau   
2011-09-14 17:09   
fixed
(0002234)
obilodeau   
2011-09-21 22:15   
fix released in 3.0