Anonymous | Login | 2024-12-02 17:52 EST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0001757 | PacketFence | web admin | public | 2014-01-13 10:24 | 2014-01-14 10:27 | |||
Reporter | caralo | |||||||
Assigned To | francis | |||||||
Priority | normal | Severity | minor | Reproducibility | always | |||
Status | resolved | Resolution | fixed | |||||
Platform | Linux | OS | Debian | OS Version | 7 (Wheezy) | |||
Product Version | 4.1.0 | |||||||
Target Version | Fixed in Version | 4.1.1 | ||||||
Summary | 0001757: httpd.admin Error when applied role in nodes action menu | |||||||
Description | When you select a node in the Nodes tab and try to apply a new role in the action menu, the node role gets changed but it doesnt evaluate the new role. So it doesnt change the vlan if it has to. If you examine packetfence.log, you can see: httpd.admin(0) ERROR: Odd number of elements in hash assignment at /usr/local/pf/html/pfappserver/lib/pfappserver/Base/Action/AdminRole.pm line 30. (pfappserver::__ANON__) If you change the node role directly pressing in the mac, everything works as expected. | |||||||
Steps To Reproduce | Web gui -> Nodes Tab -> select one or more nodes Action menu -> Apply role -> Select any Role | |||||||
Tags | No tags attached. | |||||||
fixed in git revision | dff8c1fbc9ff850cd50f7d705af36eb97f3e29c9 | |||||||
fixed in mtn revision | ||||||||
Attached Files | ||||||||
Notes | |
(0003486) dbsanch (reporter) 2014-01-13 19:01 |
Resolved: the my.conf file had been changed to force a recovery and never changed back to the default value ('0'). [mysqld] innodb_force_recovery = 4 As a safety measure, InnoDB prevents users from performing INSERT, UPDATE, or DELETE operations when innodb_force_recovery is greater than 0. -------------------------------------------------------------------------------- Resolution: [mysqld] innodb_force_recovery = 0 |
(0003487) caralo (reporter) 2014-01-14 03:50 |
I have connected to mysql database and the system variable innodb_force_recovery was 0. Just in case it was not right, I have forced "innodb_force_recovery = 0" in my.cnf but I still get the same error. |
(0003488) fdurand (administrator) 2014-01-14 07:57 |
Hello, if you want to be able to reƩvaluate the vlan after changing the role then you can apply this patch: https://github.com/inverse-inc/packetfence/pull/117/files [^] Fabrice |
(0003489) caralo (reporter) 2014-01-14 08:54 |
I have applied the patch and but it doesnt work. I think that the problem is previous to reevaluation. It has to do with: httpd.admin(0) ERROR: Odd number of elements in hash assignment at /usr/local/pf/html/pfappserver/lib/pfappserver/Base/Action/AdminRole.pm line 30. (pfappserver::__ANON__) The role change (and reevaluation) works perfectly if you change the role in the menu that opens when you press the mac of a node. But in this case you have to change the role one by one. If you want to change the role of many nodes at the same time, you should use the action menu but it doesnt work (changes the role but not the vlan) |
Issue History | |||
Date Modified | Username | Field | Change |
2014-01-13 10:24 | caralo | New Issue | |
2014-01-13 19:01 | dbsanch | Note Added: 0003486 | |
2014-01-14 03:50 | caralo | Note Added: 0003487 | |
2014-01-14 07:57 | fdurand | Note Added: 0003488 | |
2014-01-14 08:54 | caralo | Note Added: 0003489 | |
2014-01-14 10:27 | francis | fixed in git revision | => dff8c1fbc9ff850cd50f7d705af36eb97f3e29c9 |
2014-01-14 10:27 | francis | Note Added: 0003490 | |
2014-01-14 10:27 | francis | Status | new => resolved |
2014-01-14 10:27 | francis | Fixed in Version | => 4.1.1 |
2014-01-14 10:27 | francis | Resolution | open => fixed |
2014-01-14 10:27 | francis | Assigned To | => francis |
2014-01-14 10:27 | francis | Note Deleted: 0003490 |
Copyright © 2000 - 2012 MantisBT Group |