﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
944	InstallFromUrl fails with versioned package	Jorge	Víctor de Buen Remiro	"If we try to install a package with a version number in the name using InstallFromUrl it fails, for instance:

{{{
Real TolPackage::Client::InstallFromUrl( ""file:///home/jsperez/.tol/TolPackage/Server/GuiToolsRepository/Linux-x86_32/GuiTools.2.2.zip"");
}}}

will output 
{{{
RACE [InstallFromUrl] url=file:///home/jsperez/.tol/TolPackage/Server/GuiToolsRepository/Linux-x86_32/GuiTools.2.2.zip
TRACE [InstallFromUrl] path=file:///home/jsperez/.tol/TolPackage/Server/GuiToolsRepository/Linux-x86_32
TRACE [InstallFromUrl] package=GuiTools

ERROR: [2] [ZipArchive] Error while extracting from archive /home/jsperez/.tol/TolPackage/Client/GuiTools.zip file * to /home/jsperez/.tol/TolPackage/Client/GuiTools: Permission denied.

[Call stack]
  [4] Real s::new::DirExtract (Text originalDirPath, Text destinationDirPath)
  [3] Real StdLib::PackArchive::UnpackFull (Text engine, Text originalDirPath)
  [2] Real StdLib::TolPackage::Client::@Repository::DownloadPackageFromUrl (Text url, Text packageName)
  [1] Real StdLib::TolPackage::Client::InstallFromUrl (Text url)
}}}

from that we can see that it is considered as GuiTools with out version number and not as GuiTools.2.2

If instead we invoke 

{{{
Real TolPackage::Client::@Repository::DownloadPackageFromUrl( ""file:///home/jsperez/.tol/TolPackage/Server/GuiToolsRepository/Linux-x86_32/"", ""GuiTools.2.2"");
}}}

then it works as expected."	defect	closed	high	TOL Packages	ASCII data files	head	critical	fixed		Pedro Gea
