• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. vlamke
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    vlamke

    @vlamke

    0
    Reputation
    125
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vlamke Unfollow Follow

    Latest posts made by vlamke

    • 'Login History' Report - problem with username filter is showing only 1 hostname
      Server
      • FOG Version: 1.3.2 (SVN Revision: 6055)
      • OS: Arch Linux (64bits) Kernel: 4.8.13-1-ARCH
      Client
      • Service Version: 0.11.8
      • OS: Windows 10 Professional x64
      Description

      When I want to make a report via “Report Management” and then click on “Login History” for a specific user, its only using 1 hostname where the user has logged in (according to the MySQL database the user has 2 host where he had logged in).

      I found the lines that is causing this problem, because its only loading the hostname 1 time and after that its not loading the hostname agian.
      File information:

      • Filename: reportmanagementpage.class.php
      • Location: Webserver: lib/pages (Github: packages/web/lib/pages/reportmanagementpage.class.php)
      • Line: 1346 - 1349
      • Line script: if (!$Host->isValid()) {
        $Host = new Host($User->get(‘hostID’));
        }

      This line should be “$Host = new Host($User->get(‘hostID’));”, otherwhise it will load the hostname 1 time and will use the same hostname on the other lines, and its not loading the correct hostname for that line.

      posted in Bug Reports
      V
      vlamke