#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
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 16 years ago by
Milestone: | → BSR API |
---|
Note: See
TracTickets for help on using
tickets.
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