Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-396

vmprofiles displayed as 'Array' when changing a computer to vmhostinuse on computer utilities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • web gui (frontend)
    • None

    Description

      When changing a computer to the vmhostinuse state using the computer utilities under Manage Computers, the drop down box just displays Array for each entry instead of each profile. The fix is to replace line 2397 in computers.php:

      change

      printSelectInput('profileid', $profiles);

      to

      print "<select name=\"profileid\">\n";
      foreach($profiles as $id => $item)
      print " <option value=\"$id\">{$item['profilename']}</option>\n";
      print "</select>\n";

      Attachments

        Activity

          People

            jfthomps Josh Thompson
            jfthomps Josh Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: