Wrong node configuration when creating new node in pubsub model
From: Didier Perrotey <Didier.Perrotey@xxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 10:10:59 +0100 (CET)
In method createNode of Manager class, all the fields of node are created with (key, key) model and not with (key,value) model

the code below :

       if( config )
       {
         StringMap::const_iterator it = config->begin();
         for( ; it != config->end(); ++it )
df.addField( DataFormField::TypeNone, (*it).first, (*it).first );
         delete config;
       }

should be replaced by :

       if( config )
       {
         StringMap::const_iterator it = config->begin();
         for( ; it != config->end(); ++it )
df.addField( DataFormField::TypeNone, (*it).first, (*it).second ); <--- modification here
         delete config;
       }