Checkbox Active missed in 3.0.5.2 in DNS SRV records

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

  1. 2ni

    2ni New Member

    Running ISPConfig 3.0.5.2

    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 Howtoforge Staff

    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:
    Code:
                    
                    $app->tpl->setVar($this->dataRecord)
    
    with a set on key by key basis:
    Code:
         
                    $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 Howtoforge Staff

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

    DrZboczek New Member

    Thanks for that topic, I find it very interesting.
     

Share This Page