I want to clone Middleware instance CI and create a new one. However I'm not able to do it successfully - no error prompt when I run setup and toolkit, and no new CI or DB table can be created. I only fill "itop-config-mgmt/2.0.0" in the dependencies of the module. Am I right?
I want to clone Middleware instance CI and create a new one. However I'm not able to do it successfully - no error prompt when I run setup and toolkit, and no new CI or DB table can be created. I only fill "itop-config-mgmt/2.0.0" in the dependencies of the module. Am I right?
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<classes>
<class id="user-content-WeblogicInstance" _delta="define">
<parent>FunctionalCI</parent>
<properties>
<category>bizmodel,searchable</category>
<abstract>false</abstract>
<key_type>autoincrement</key_type>
<db_table>weblogicinstance</db_table>
<db_key_field>id</db_key_field>
<db_final_class_field>
<naming>
<format>%1$s</format>
<attributes>
<attribute id="user-content-name">
</attribute></attributes>
</naming>
<display_template>
<icon>images/weblogic.png</icon>
<reconciliation>
<attributes>
<attribute id="user-content-name">
<attribute id="user-content-org_id">
<attribute id="user-content-organization_name">
<attribute id="user-content-middleware_id">
<attribute id="user-content-middleware_name">
</attribute></attribute></attribute></attribute></attribute></attributes>
</reconciliation>
</display_template></db_final_class_field></properties>
<fields>
<field id="user-content-middleware_id" xsi:type="AttributeExternalKey">
<sql>middleware_id</sql>
<target_class>Middleware</target_class>
<is_null_allowed>false</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
</field>
<field id="user-content-middleware_name" xsi:type="AttributeExternalField">
<extkey_attcode>middleware_id</extkey_attcode>
<target_attcode>name</target_attcode>
</field>
</fields>
<methods>
<method id="user-content-GetRelationQueries">
<static>true</static>
<access>public</access>
<type>Overload-DBObject</type>
<![CDATA[ public static function GetRelationQueries($sRelCode)
</method></methods></class></classes></itop_design>{
switch ($sRelCode)
{
case "impacts":
$aRels = array(
);
return array_merge($aRels, parent::GetRelationQueries($sRelCode));
break;
<menus>
</menus>
<user_rights>
<groups>
</groups>
</user_rights>
Did you rename the object and references accordingly?
the message you posted seems to indicate you did not as it is trying to OVERLOAD the existing definition for the Middleware class.