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 16 years ago

Closed 16 years ago

#695 closed defect (fixed)

Error when apply functions from GuiFunction library

Reported by: César Pérez Álvarez Owned by: Jorge
Priority: highest Milestone:
Component: Interface Version: 1.1.7
Severity: critical Keywords:
Cc:

Description

If you run this code:

Set Fun(Real real)
{

SetOfSerie(Serie ser = real*CalInd(C, Diario))

};
Set a = Fun(8);

And apply a function with right mouse button, for exemple, SubSerie (see attached file), TOL makes the following Error:

ERROR: [3] ser no es un objeto valido para el tipo Serie.

[Call stack]

[1] Serie GuiSubSer (Serie ser, Date ini, Date end)

ERROR: [4] Argumentos erróneos para Serie GuiSubSer (Serie ser, Date ini, Date end)

[Call stack]

[1] Serie GuiSubSer (Serie ser, Date ini, Date end)

Attachments (1)

functionRB.gif (67.5 KB) - added by César Pérez Álvarez 16 years ago.

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by César Pérez Álvarez

Attachment: functionRB.gif added

comment:1 Changed 16 years ago by Jorge

Priority: highhighest
Status: newaccepted
Version: 1.1.7

proc TclRefToNameTol { ref } {

...

}

is not returning what is expected, should be solved in next patch of 1.1.7

comment:2 Changed 16 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: acceptedclosed

(In [1066]) New function GetAddressFromObject and GetObjectFromAddress
Fixes #695

comment:3 Changed 16 years ago by Jorge

Resolution: fixed
Status: closedreopened

the bug remains open

comment:4 Changed 16 years ago by Jorge

Status: reopenedaccepted

comment:5 Changed 16 years ago by Jorge

Resolution: fixed
Status: acceptedclosed

(In [1068]) TolInspector::CallUserFunction use the address obtained from tol::info address and pass the object to the gui functions through the TOL function GetObjectFromAddress

This fixes #695.

Note: See TracTickets for help on using tickets.