Advertisement
Guest User

Untitled

a guest
May 2nd, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1.  
  2. Openbravo Viewing file: 20100125155237-apply.log
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. apply.modules:
  14.  
  15. set.code.rev:
  16. [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
  17.  
  18. code.rev:
  19.  
  20. init:
  21.  
  22. core.lib:
  23.  
  24. init:
  25.  
  26. compile:
  27.  
  28. build.jar:
  29. [jar] Building jar: /home/openbravo/Apps/open250mp10/src-core/lib/openbravo-core.jar
  30.  
  31. build:
  32.  
  33. copy.core.lib:
  34. [copy] Copying 1 file to /home/openbravo/Apps/open250mp10/lib/runtime
  35.  
  36. database.lib:
  37.  
  38. init:
  39.  
  40. compile:
  41.  
  42. build.jar:
  43. [jar] Building jar: /home/openbravo/Apps/open250mp10/src-db/build/lib/dbmanager.jar
  44.  
  45. jar:
  46. [copy] Copying 1 file to /home/openbravo/Apps/open250mp10/src-db/database/lib
  47.  
  48. update.database.mod:
  49.  
  50. update.database.mod.java:
  51. [java] Initializing in-memory model...
  52. [java] Building runtime model
  53. [java] Model read in-memory, generating mapping...
  54. [java] Dal layer initialized
  55. [java] Database connection: jdbc:postgresql://localhost:5433/tad_250mp10. User: tad_250mp10
  56. [java] Checking if database structure was modified locally.
  57. [java] Checking if data has changed in the application dictionary.
  58. [java] Creating submodel for application dictionary
  59. [java] Updating module: org.cevalsoft.crm
  60. [java] Loading submodel from database...
  61. [java] Reading tables...
  62. [java] Reading views...
  63. [java] Reading sequences...
  64. [java] Reading triggers...
  65. [java] Reading functions...
  66. [java] Sorting foreign keys, indexes and checks...
  67. [java] Starting function and trigger standardization.
  68. [java] Submodel loaded
  69. [java] Loading data from XML files
  70. [java] Comparing table AD_Process
  71. [java] Comparing table AD_Element
  72. [java] Comparing table AD_Menu
  73. [java] Comparing table AD_Process_Para
  74. [java] Comparing table AD_EP_Procedures
  75. [java] Comparing table AD_Message
  76. [java] Comparing table AD_Reference
  77. [java] Comparing table AD_AuxiliarInput
  78. [java] Comparing table AD_Dataset_Table
  79. [java] Comparing table AD_Callout
  80. [java] Comparing table AD_Module_Dbprefix
  81. [java] Comparing table AD_Ref_List
  82. [java] Comparing table AD_Dataset_Column
  83. [java] Comparing table AD_Model_Object
  84. [java] Comparing table AD_Model_Object_Mapping
  85. [java] Comparing table AD_Column
  86. [java] Comparing table AD_Extension_Points
  87. [java] Comparing table AD_Package
  88. [java] Comparing table AD_Ref_Search
  89. [java] Comparing table AD_FieldGroup
  90. [java] Comparing table AD_Ref_Search_Column
  91. [java] Comparing table AD_Module
  92. [java] Comparing table AD_Ref_Table
  93. [java] Comparing table AD_Tab
  94. [java] Comparing table AD_Dataset
  95. [java] Comparing table AD_Field
  96. [java] Comparing table AD_Module_Dependency
  97. [java] Comparing table AD_Model_Object_Para
  98. [java] Comparing table AD_Table
  99. [java] Comparing table AD_TextInterfaces
  100. [java] Comparing table AD_Workflow
  101. [java] Comparing table AD_TreeNode
  102. [java] Comparing table AD_Exceptions
  103. [java] Comparing table AD_Val_Rule
  104. [java] Comparing table AD_WF_Node
  105. [java] Comparing table AD_WF_NodeNext
  106. [java] Comparing table AD_Form
  107. [java] Comparing table AD_Window
  108. [java] Comparing databases to find data differences
  109. [java] Updating database model...
  110. [java] Warning: Name of object CRMADDRESS_BILLINGADDRESS_CHECK is too long (31 characters; maximum length: 30 characters)
  111. [java] Warning: Name of object CRMADDRESS_MAILINGADDRESS_CHECK is too long (31 characters; maximum length: 30 characters)
  112. [java] Warning: Name of object CRMADDRESS_SHIPPINGADDRESS_CHECK is too long (32 characters; maximum length: 30 characters)
  113. [java] SQL Command failed with: ERROR: se us� OLD en una consulta que no es una regla
  114. [java] -- END
  115. [java] -- -----------------------------------------------------------------------
  116. [java] -- FUNCTION CRM_CUSTOMER_TRG
  117. [java] -- -----------------------------------------------------------------------
  118. [java] CREATE FUNCTION CRM_CUSTOMER_TRG() RETURNS VARCHAR
  119. [java]
  120. [java] AS $BODY$ DECLARE
  121. [java] crm_category CHAR(1);
  122. [java]
  123. [java] BEGIN
  124. [java] IF AD_isTriggerEnabled()='N' THEN IF TG_OP = 'DELETE' THEN RETURN OLD; ELSE RETURN NEW; END IF;
  125. [java] END IF;
  126. [java]
  127. [java] SELECT category
  128. [java] INTO crm_category
  129. [java] FROM CRM_Customerinfo
  130. [java] WHERE NEW.Account_Name <>'' or New.Account_Name<>null;
  131. [java]
  132. [java] IF category = 'Contact' THEN
  133. [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;
  134. [java] RAISE EXCEPTION '%','Partner is not employee';
  135. [java] END IF;
  136. [java]
  137. [java]
  138. [java] IF TG_OP = 'DELETE' THEN RETURN OLD; ELSE RETURN NEW; END IF;
  139. [java] END ; $BODY$ LANGUAGE plpgsql;
  140. [java] Executed 28 SQL command(s) with 1 error(s)
  141. [java] Model update complete.
  142. [java] Updating database data...
  143. [java] Disabling foreign keys
  144. [java] Executed 173 SQL command(s) with 0 error(s)
  145. [java] Disabling triggers
  146. [java] Executed 130 SQL command(s) with 0 error(s)
  147. [java] Executed 31 SQL command(s) with 0 error(s)
  148. [java] Updating database data for module CRM
  149. [java] Error while inserting into the database: ERROR: llave duplicada viola restricci�n de unicidad �ad_element_key�
  150. [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�
  151. [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1569)
  152. [java] at org.apache.ddlutils.platform.PlatformImplBase.upsert(PlatformImplBase.java:1473)
  153. [java] at org.apache.ddlutils.platform.PlatformImplBase.alterData(PlatformImplBase.java:741)
  154. [java] at org.openbravo.ddlutils.task.AlterDatabaseDataMod.doExecute(AlterDatabaseDataMod.java:297)
  155. [java] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:120)
  156. [java] at org.openbravo.ddlutils.task.BaseDalInitializingTask.execute(BaseDalInitializingTask.java:88)
  157. [java] at org.openbravo.ddlutils.task.AlterDatabaseModJava.main(AlterDatabaseModJava.java:38)
  158. [java] Caused by: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricci�n de unicidad �ad_element_key�
  159. [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
  160. [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
  161. [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
  162. [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
  163. [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
  164. [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:305)
  165. [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
  166. [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1560)
  167. [java] ... 6 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement