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

Last modified 16 years ago

#653 closed defect (fixed)

compatibility in OneNode API from 1.1.7 to 2.0.1

Reported by: Jorge Owned by: Víctor de Buen Remiro
Priority: highest Milestone: BSR API
Component: Math Version: 2.0.1
Severity: major Keywords:
Cc:

Description

If I compile a OneNode BSR, used in version 1.1.7, with version 2.0.1 I obtain this error:

ERROR: [1] Se esperaba campo de estructura Date BSR.DocInfo->Session.Creation cuando se encontro el objeto de tipo Text en el el elemento número 6

Change History (3)

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

Field BSR.DocInfo?->Session.Creation was created as Text by a mistake.
Afterwords was changed to correct type Date.
Struct creator in version 2.0.1 checks for field types, so an error is shown.
Version 1.1.7 doesn't show the error but result is corrupted and hiden invalid access could happen

So you must declare someting like

  Date Session.Creation = Copy(Now);

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

Resolution: fixed
Status: newclosed

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

Milestone: BSR API
Note: See TracTickets for help on using tickets.