The Network People Support Forums

Other TNPI Software => NicTool => Topic started by: shaun on June 14, 2007, 06:33:32 PM

Title: API docs and get_zone_records
Post by: shaun on June 14, 2007, 06:33:32 PM
The documentation needs to let people know that the can only specific a limit of less than 100... NicToolServer.pm will overwrite your limit if it's over this amount for whatever reason......


NicToolServer.pm Line 1648

$r_data->{'limit'} = ($data->{'limit'} <= 100 ? $data->{'limit'} : 100);

I'm going to imagine that this line doesnt only affect get_zone_records but probably may other functions that call set_paging_vars



[root@blue NicToolServer]# grep "set_paging_vars" -r *
blib/lib/NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Nameserver.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer.pm:sub set_paging_vars {
NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Nameserver.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer.pm:sub set_paging_vars {

Title: Re: API docs and get_zone_records
Post by: matt on July 08, 2007, 10:41:20 AM
added to TODO.
Title: Re: API docs and get_zone_records
Post by: matt on October 13, 2007, 10:56:53 PM
fixed in NicTool 2.06