Merge branch 'ent-7320-11651-creacion-masiva-de-xml-incorrectos-con-servidor-develop' into 'develop'

Ent 7320 11651 creacion masiva de xml incorrectos con servidor develop

See merge request artica/pandorafms!4038
This commit is contained in:
vgilc 2021-04-20 08:55:21 +00:00
commit d380e2cd45

View File

@ -792,6 +792,7 @@ sub transfer_xml {
my $file_name;
my $file_path;
if (! -f $xml) {
if (! (empty ($name))) {
$file_name = $name . "." . sprintf("%d",getCurrentUTimeMilis(). (rand()*10000)) . ".data";
}
@ -845,6 +846,10 @@ sub transfer_xml {
close ($FD);
} else {
$file_path = $xml;
}
# Reassign default values if not present
$conf->{tentacle_client} = "tentacle_client" if empty($conf->{tentacle_client});
$conf->{tentacle_port} = "41121" if empty($conf->{tentacle_port});