Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Openbravo Viewing file: 20100125155237-apply.log
- apply.modules:
- set.code.rev:
- [exec] Execute failed: java.io.IOException: Cannot run program "hg" (in directory "/home/openbravo/Apps/open250mp10"): java.io.IOException: error=2, No such file or directory
- code.rev:
- init:
- core.lib:
- init:
- compile:
- build.jar:
- [jar] Building jar: /home/openbravo/Apps/open250mp10/src-core/lib/openbravo-core.jar
- build:
- copy.core.lib:
- [copy] Copying 1 file to /home/openbravo/Apps/open250mp10/lib/runtime
- database.lib:
- init:
- compile:
- build.jar:
- [jar] Building jar: /home/openbravo/Apps/open250mp10/src-db/build/lib/dbmanager.jar
- jar:
- [copy] Copying 1 file to /home/openbravo/Apps/open250mp10/src-db/database/lib
- update.database.mod:
- update.database.mod.java:
- [java] Initializing in-memory model...
- [java] Building runtime model
- [java] Model read in-memory, generating mapping...
- [java] Dal layer initialized
- [java] Database connection: jdbc:postgresql://localhost:5433/tad_250mp10. User: tad_250mp10
- [java] Checking if database structure was modified locally.
- [java] Checking if data has changed in the application dictionary.
- [java] Creating submodel for application dictionary
- [java] Updating module: org.cevalsoft.crm
- [java] Loading submodel from database...
- [java] Reading tables...
- [java] Reading views...
- [java] Reading sequences...
- [java] Reading triggers...
- [java] Reading functions...
- [java] Sorting foreign keys, indexes and checks...
- [java] Starting function and trigger standardization.
- [java] Submodel loaded
- [java] Loading data from XML files
- [java] Comparing table AD_Process
- [java] Comparing table AD_Element
- [java] Comparing table AD_Menu
- [java] Comparing table AD_Process_Para
- [java] Comparing table AD_EP_Procedures
- [java] Comparing table AD_Message
- [java] Comparing table AD_Reference
- [java] Comparing table AD_AuxiliarInput
- [java] Comparing table AD_Dataset_Table
- [java] Comparing table AD_Callout
- [java] Comparing table AD_Module_Dbprefix
- [java] Comparing table AD_Ref_List
- [java] Comparing table AD_Dataset_Column
- [java] Comparing table AD_Model_Object
- [java] Comparing table AD_Model_Object_Mapping
- [java] Comparing table AD_Column
- [java] Comparing table AD_Extension_Points
- [java] Comparing table AD_Package
- [java] Comparing table AD_Ref_Search
- [java] Comparing table AD_FieldGroup
- [java] Comparing table AD_Ref_Search_Column
- [java] Comparing table AD_Module
- [java] Comparing table AD_Ref_Table
- [java] Comparing table AD_Tab
- [java] Comparing table AD_Dataset
- [java] Comparing table AD_Field
- [java] Comparing table AD_Module_Dependency
- [java] Comparing table AD_Model_Object_Para
- [java] Comparing table AD_Table
- [java] Comparing table AD_TextInterfaces
- [java] Comparing table AD_Workflow
- [java] Comparing table AD_TreeNode
- [java] Comparing table AD_Exceptions
- [java] Comparing table AD_Val_Rule
- [java] Comparing table AD_WF_Node
- [java] Comparing table AD_WF_NodeNext
- [java] Comparing table AD_Form
- [java] Comparing table AD_Window
- [java] Comparing databases to find data differences
- [java] Updating database model...
- [java] Warning: Name of object CRMADDRESS_BILLINGADDRESS_CHECK is too long (31 characters; maximum length: 30 characters)
- [java] Warning: Name of object CRMADDRESS_MAILINGADDRESS_CHECK is too long (31 characters; maximum length: 30 characters)
- [java] Warning: Name of object CRMADDRESS_SHIPPINGADDRESS_CHECK is too long (32 characters; maximum length: 30 characters)
- [java] SQL Command failed with: ERROR: se us� OLD en una consulta que no es una regla
- [java] -- END
- [java] -- -----------------------------------------------------------------------
- [java] -- FUNCTION CRM_CUSTOMER_TRG
- [java] -- -----------------------------------------------------------------------
- [java] CREATE FUNCTION CRM_CUSTOMER_TRG() RETURNS VARCHAR
- [java]
- [java] AS $BODY$ DECLARE
- [java] crm_category CHAR(1);
- [java]
- [java] BEGIN
- [java] IF AD_isTriggerEnabled()='N' THEN IF TG_OP = 'DELETE' THEN RETURN OLD; ELSE RETURN NEW; END IF;
- [java] END IF;
- [java]
- [java] SELECT category
- [java] INTO crm_category
- [java] FROM CRM_Customerinfo
- [java] WHERE NEW.Account_Name <>'' or New.Account_Name<>null;
- [java]
- [java] IF category = 'Contact' THEN
- [java] insert into crm_customerinfo(crm_customerinfo_id,ad_client_id,ad_org_id,createdby,updatedby,first_name,last_name,account_name,title,email,office_phone,leadsource,customerstatus,category) select get_uuid(),ad_client_id,ad_org_id,createdby,updatedby,first_name,last_name,account_name,title,email,office_phone,leadsource,customerstatus,'Account' from crm_customerinfo where crm_customerinfo_id=NEW.crm_customerinfo_id;
- [java] RAISE EXCEPTION '%','Partner is not employee';
- [java] END IF;
- [java]
- [java]
- [java] IF TG_OP = 'DELETE' THEN RETURN OLD; ELSE RETURN NEW; END IF;
- [java] END ; $BODY$ LANGUAGE plpgsql;
- [java] Executed 28 SQL command(s) with 1 error(s)
- [java] Model update complete.
- [java] Updating database data...
- [java] Disabling foreign keys
- [java] Executed 173 SQL command(s) with 0 error(s)
- [java] Disabling triggers
- [java] Executed 130 SQL command(s) with 0 error(s)
- [java] Executed 31 SQL command(s) with 0 error(s)
- [java] Updating database data for module CRM
- [java] Error while inserting into the database: ERROR: llave duplicada viola restricci�n de unicidad �ad_element_key�
- [java] Exception in thread "main" org.apache.ddlutils.DatabaseOperationException: Error while inserting into the database: ERROR: llave duplicada viola restricci�n de unicidad �ad_element_key�
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1569)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.upsert(PlatformImplBase.java:1473)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.alterData(PlatformImplBase.java:741)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataMod.doExecute(AlterDatabaseDataMod.java:297)
- [java] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:120)
- [java] at org.openbravo.ddlutils.task.BaseDalInitializingTask.execute(BaseDalInitializingTask.java:88)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseModJava.main(AlterDatabaseModJava.java:38)
- [java] Caused by: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricci�n de unicidad �ad_element_key�
- [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:305)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1560)
- [java] ... 6 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement