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

    quick registration does not increment sys number

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    2
    960
    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.
    • E
      Enrico
      last edited by

      Hi,
      The last svn and git (4586) versions does not include auto increment ov FOG_QUICKREG_SYS_NUMBER in Registration.class.php.
      So, when you quick register second host, it cannot because the name exists and it delete the previous one too (why?).
      Resolved adding:
      129,130d128
      < //increment quickreg system number
      < $this->FOGCore->setSetting(FOG_QUICKREG_SYS_NUMBER,$autoRegSysNumber + 1);
      to Registration.class.php.

      Hope this helps
      bye
      Enrico

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Thanks for reporting. This is now fixed.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

        224

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project