PacketFence - BTS - PacketFence
View Issue Details
0001840PacketFenceweb adminpublic2014-10-28 11:262014-11-26 09:17
caralo 
jrouzier 
normalminoralways
resolvedfixed 
LinuxDebian7 (Wheezy)
4.4.0 
+1 
4c51dbc36909407dc2d604086ebd9b833f09e857
0001840: Error applying role to multiple nodes
when you select multiple nodes and try to apply a role it does not work and you get "Success. Roles applied to 0 nodes"
You can only apply the role if you click the mac address link individually.

These are the logs from httpd.admin.log:

Oct 28 16:24:48 httpd.admin(8148) INFO: Redirecting to admin interface https://localhost:1443/admin [^] (pfappserver::Controller::Root::index)
Oct 28 16:24:48 httpd.admin(8148) ERROR: Argument "\x{37}\x{34}..." isn't numeric in numeric ne (!=) at /usr/local/pf/html/pfappserver/lib/pfappserver/Model/Node.pm line 768.
 (pfappserver::__ANON__)
Oct 28 16:24:48 httpd.admin(8148) ERROR: Unable to modify node because specified category doesn't exist (pf::node::node_modify)
Oct 28 16:24:49 httpd.admin(8148) ERROR: Use of uninitialized value $all_or_any in string eq at /usr/local/pf/html/pfappserver/lib/pfappserver/Model/Search/Node.pm line 73.
 (pfappserver::__ANON__)

No tags attached.
Issue History
2014-10-28 11:26caraloNew Issue
2014-10-28 13:18jmplumleyNote Added: 0003606
2014-10-28 13:34francisAssigned To => jrouzier
2014-10-28 13:34francisStatusnew => assigned
2014-11-10 14:17jmplumleyNote Added: 0003607
2014-11-26 09:17fdurandfixed in git revision => 4c51dbc36909407dc2d604086ebd9b833f09e857
2014-11-26 09:17fdurandStatusassigned => resolved
2014-11-26 09:17fdurandFixed in Version => +1
2014-11-26 09:17fdurandResolutionopen => fixed

Notes
(0003606)
jmplumley   
2014-10-28 13:18   
Have same issue on version 4.5.0 on CentOS. I don't get all the above errors from log file, just this one "ERROR: Use of uninitialized value $all_or_any in string eq at /usr/local/pf/html/pfappserver/lib/pfappserver/Model/Search/Node.pm line 73.
 (pfappserver::__ANON__)"
(0003607)
jmplumley   
2014-11-10 14:17   
Just an update. Upgraded my system to 4.5.1 on CentOS but still have same issue with applying roles to multiple nodes.