• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    1.6.0.14: "Create new tasking" modal hangs on "Loading, please wait..." if the host has no image

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    1 Posts 1 Posters 1 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lperoma
      last edited by

      Just ran into something odd after upgrading to 1.6.0.14. I wanted to capture an image from a host that had no image assigned yet, clicked Capture in the host’s Tasks tab, and the “Create new tasking” modal just sat there on “Loading, please wait…” for good. No error, nothing.

      It took me a while to work out what was going on. The Apache access log shows the request coming back with a 400:

      GET /fog/management/index.php?node=host&sub=deploy&id=607&type=2  ->  400
      

      From a quick look at HostManagement::deploy() it seems to throw “Assigned image is invalid” when the host has no valid image, so I’m guessing that’s what the 400 says, but the modal never shows it.

      Setting an image in the host’s General tab fixed it right away. It would be nice if the modal showed the error, or if Deploy/Capture were greyed out when there’s no image, because from the UI it just looks like the page is broken.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      69

      Online

      12.8k

      Users

      17.7k

      Topics

      157.4k

      Posts
      Copyright © 2012-2026 FOG Project