Revision d2538409

View differences:

src/vm_template/VMTemplate.cc
77 77
    // Check default attributes
78 78
    // ---------------------------------------------------------------------
79 79

  
80
    // ------------ NAME --------------------
80
    // ------------ NAME & TEMPLATE_ID --------------------
81
    oss << oid;
82

  
83
    replace_template_attribute("TEMPLATE_ID",oss.str()); 
84

  
81 85
    get_template_attribute("NAME", name);
82 86

  
83 87
    if ( name.empty() == true )
......
87 91
        name = oss.str();
88 92
    }
89 93

  
94

  
90 95
    // ------------ PUBLIC --------------------
96

  
91 97
    get_template_attribute("PUBLIC", public_attr);
92 98

  
93 99
    obj_template->erase("PUBLIC");

Also available in: Unified diff