Edit host page broken with no login history



  • I think I’ve noticed a bug for hosts that have no user login history.

    I’ve imported our new laptops this year as the boxes now have mac address barcodes, rather than manually registering 360 of them. When trying to edit the details for these hosts the edit page appears to be visually broken.
    [ATTACH]1085[/ATTACH]
    At first I thought it was a browser cache issue then I found hosts that worked. I just noticed in the apache error log this message.

    [CODE]Call to a member function get() on a non-object in /var/www/fog/lib/pages/HostManagementPage.class.php on line 989[/CODE]

    Looks to me like this line works with the user login history, and these hosts don’t have any yet…

    After deploying one of these and using the computer, the edit page is fine.

    [url="/_imported_xf_attachments/1/1085_broken host edit page.jpg?:"]broken host edit page.jpg[/url]


  • Senior Developer

    Download the latest fog_1.1.2.tar.gz file from sourceforge. This should be fixed in the new one.

    Not one you downloaded two day’s ago right when we released, redownload as I’ve updated it.


Log in to reply
 

340
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.