﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
563	Zip Error using Ois.UseModule	César Pérez Álvarez	Víctor de Buen Remiro	"If we have two files, file1.tol and file2.tol with the following codes:

file1.tol
---------

Text path = ""file2.tol"";

Real caducity = 3;
Real oisUpdt  = Ois.CheckIsUpdated(path);
Date oisTime  = Ois.GetModuleTime (path);
/*Real obsolete = If(oisUpdt & (DateDif(Daily, oisTime, Now)<=caducity), 0,  
                   Ois.RemoveModule(path));*/

Set Ois.UseModule(path);


file2.tol
---------

Set A = Empty.

If we compile and decompile file1.tol, TOL runs ok. But, if we uncomment the two lines in file1.tol we obtain the following error.

ERROR: [1] [ZipArchive]Error while processing archive C:/Documents and Settings/Administrador/Datos de programa/tol/OIS/module.oza: Bad file number

I erased all in Ois.DefRoot before compile and decompile file1.tol each time.


This error happens in CVS version and 1.1.6, b5 sub-version"	defect	closed	high		System	1.1.6	major	fixed		
