close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 19 years ago

#333 closed defect (fixed)

functions associated to Object Inspector elements

Reported by: imendez Owned by: Javier Portugal
Priority: normal Milestone:
Component: Interface Version: head
Severity: normal Keywords:
Cc: Alfredo Torre

Description

Hi,

when someone applies a "rigth button" function to an "Object Inspector element"
twice, the name of the resulting object is not modified, so TOL returns the next
error message:

ERROR: No se puede hacer PutName :
200507310803.1.MGVentaLCOLCOLCDiarioPrevision.Anu.Sum existe todavía

ERROR: No se puede hacer global el objeto
200507310803.1.MGVentaLCOLCOLCDiarioPrevision.Anu.Sum de tipo Anything porque ya
existe.

Warning: La función MakeGlobal ha fallado en :
MakeGlobal(200507310803.1.MGVentaLCOLCOLCDiarioPrevision.Anu.Sum)

Warning: La función Eval ha fallado en :
Eval("MakeGlobal("+name+")")

ERROR: Fallo en la función "MakeAnyGlobal" declarada en el fichero:
C:/Archivos de programa/Bayes/TolBase CVS 20051104/bin/initlibrary/_guifunction.tol

ERROR: Fallo en la función "GuiDatCh" declarada en el fichero:
C:/Archivos de programa/Bayes/TolBase CVS 20051104/bin/initlibrary/_guifunction.tol

I'll try to explain it with an example:

1.- Create any object:
Serie sr = CalInd(WD(5), Daily);

2.- Look for it in the Object Inspector window.
3.- Click on it and push the rigth button.
4.- Select "Functions" from the merging menu.
5.- Select, for example, the SubSer function.
6.- Fill the blanks with two dates.
7.- TOL creates one new series.
8.- Repeat the steps 2-7.
9.- TOL returns an error because it trys to create a new serie with the same
name than step 7 one.

Regards.

Change History (3)

comment:1 Changed 19 years ago by Jorge

Component: UnclassifiedObject inspector
Owner: changed from Jorge to Javier Portugal

This seams to be a bug in GuiFunctions

comment:2 Changed 19 years ago by Javier Portugal

Status: newassigned

comment:3 Changed 19 years ago by Javier Portugal

Resolution: fixed
Status: assignedclosed

Modified function MakeAnyGlobal. If already exists an object with given name, a
new name is provided.

Note: See TracTickets for help on using tickets.