Checkbox Active missed in in DNS SRV records

Discussion in 'Developers' Forum' started by 2ni, Apr 5, 2013.

  1. 2ni

    2ni New Member

    Running ISPConfig

    unable to update DNS SRV records : checkbox Active is not visible, only Y or N into a disabled field.

    if record is saved, it become inactive with no way to reactivate it.
  2. falko

    falko Super Moderator ISPConfig Developer

    I've added this to our bugtracker, so we will check that.
  3. 2ni

    2ni New Member

    Hi Falko,

    I have found the problem into web/dns/dns_srv_edit.php file.

    Line 91, in the overloading function onShowEnd

    I have replaced the global set:
    with a set on key by key basis:
                    $app->tpl->setVar('weight', $split[0]);
                    $app->tpl->setVar('port', $split[1]);
                    $app->tpl->setVar('target', $split[2]);
    to avoid override of other keys like 'active'
  4. falko

    falko Super Moderator ISPConfig Developer

    I've just fixed this in SVN.
  5. DrZboczek

    DrZboczek New Member

    Thanks for that topic, I find it very interesting.
: srv records

Share This Page