if ( !result.getString("parent").equals(oldParent) ) {
<BUG>dbParent = new DBObject(_dbModel, DBPlugin.generateId(result.getString("parent"), _dbModel.getModelId(), _dbModel.getVersion()));
</BUG>
if ( dbParent.getEObject() == null ) {
<BUG>DBPlugin.popup(Level.Error, "Cannot import CanvasModelBlock ("+DBPlugin.generateId(result.getString("id"), _dbModel.getModelId(), _dbModel.getVersion())+") as we do not know its parent ("+DBPlugin.generateId(result.getString("parent"), _dbModel.getModelId(), _dbModel.getVersion())+")");
</BUG>
break;
}
}
DBObject dbObject = new DBObject(_dbModel, ICanvasFactory.eINSTANCE.createCanvasModelBlock());

if ( !result.getString("parent").equals(oldParent) ) {
dbParent = _dbModel.searchDBObjectById(DBPlugin.generateId(result.getString("parent"), _dbModel.getProjectId(), _dbModel.getVersion()));
if ( dbParent.getEObject() == null ) {
DBPlugin.popup(Level.Error, "Cannot import CanvasModelBlock ("+DBPlugin.generateId(result.getString("id"), _dbModel.getProjectId(), _dbModel.getVersion())+") as we do not know its parent ("+DBPlugin.generateId(result.getString("parent"), _dbModel.getProjectId(), _dbModel.getVersion())+")");
break;
}
}
DBObject dbObject = new DBObject(_dbModel, ICanvasFactory.eINSTANCE.createCanvasModelBlock());
