Hi, On Fri, 2009-09-04 at 11:21 +0200, Johannes Brunen wrote: > Hi Gerrit, > > After further looking into the file OSGOSBChunkMaterialElement.cpp I think > that the problem comes from the line > > setContainer(ChunkMaterialUnrecPtr(ChunkMaterial::create())); > > of the read function in this file. Here the actual type of the element is > lost. Later on in the code the readFieldContent call fails because of > unknown field types. > > Howerver, I do not see the proper solution for this problem.
Just committed, just use FieldContainerFactory::the()->createContainer(typeName.c_str() instead to create the container by type name instead through the concrete instance. kind regards, gerrit ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
