[Fixed] r5766 SVN issue with MACAddress class / Inventory issue
-
Hello,
We have an issue with the last Toshiba laptop so updated to last trunk to see if the issue was fixed.
Sadly, I have an error when trying to register a host (either using the Web GUI, the quick inventory or the manuel inventory process) leading to that in apache logs :
[Tue Jun 28 02:42:17.263654 2016] [:error] [pid 8128] [client 10.1.24.210:37966] PHP Fatal error: Call to a member function get() on string in /var/www/html/fog/lib/fog/host.class.php on line 373
or
[Tue Jun 28 02:42:39.970503 2016] [:error] [pid 8128] [client 10.1.30.29:50506] PHP Fatal error: Call to a member function get() on string in /var/www/html/fog/lib/fog/host.class.php on line 373, referer: http://fogserver/fog/management/index.php?node=host&sub=add
It refers to the function :
protected function loadMac() { if (!$this->get('id')) return; $this->set('mac',self::getClass('MACAddress',$this->get('primac')->get('mac'))); }
Any idea what the problem is and how to fix it ?
Regards,
-
Two questions,
Last SVN is a moving target, what is the version (git) from about the cloud on the management page.
Do you get this error when registering any host or just this Toshiba?
-
Running Version 8277
SVN Revision: 5766I can’t register anything at the moment (neither can I add host manually from web interface)
Regads,
-
I can confirm this issue on git 8277
-
Should now be fixed, thanks for reporting.
-
Fixed in r5767. Thanks