View Issue Details

IDProjectCategoryView StatusLast Update
0004478VALENTINA SERVERAPIpublic2009-08-02 09:23
ReporterMax GrigorianAssigned ToIvan Smahin 
PrioritynormalSeverityblockReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version4.2 
Summary0004478: objptr tatgetTable name is empty sometimes
Descriptionthe bug is absent, when working with local db.
when we connect to remote vserver, some objectptrs have empty TargetTables.
i use such code(RB):

  dim SourceTable as VTable
  dim SourceField as VField
  dim SourceLink as VLink2
  dim ObjPtr as VObjectPtr
  dim link_name as String
  dim TargetName as String
  
  SourceTable = MyDBCopyFrom.Table( "tbl_typelistvalues" )
  SourceField = SourceTable.Field( "objptr_typelist" )
  ObjPtr = VObjectPtr( SourceField )
  SourceLink = ObjPtr.AsVLink2
  
  TargetName = ObjPtr.Target.Name
  
  link_name = SourceLink.Name
  
  MsgBox( "objptr_typelist => " + TargetName )

to reproduce bug, run attached application, press Connect, then press "get good objptr", we see, that target table is fine, the press "get bad objptr", and target table is empty.
TagsNo tags attached.

Activities

2009-07-31 08:44

 

bug_4478.rbp (26,648 bytes)

Issue History

Date Modified Username Field Change
2009-07-31 08:43 Max Grigorian New Issue
2009-07-31 08:44 Max Grigorian File Added: bug_4478.rbp
2009-08-02 09:23 Ivan Smahin Status new => resolved
2009-08-02 09:23 Ivan Smahin Fixed in Version => 4.2
2009-08-02 09:23 Ivan Smahin Resolution open => fixed
2009-08-02 09:23 Ivan Smahin Assigned To => Ivan Smahin