|
I think this bug is not related with the multiorg project. Currently (version 2.40), the application does not allow the user to delete an organization because of a foreign key constraint ("ad_org_ad_orginfo") on the "AD_OrgInfo" table.
On the other hand, the "@CODE=0@ERROR: operator does not exist: character varying = integer" error is related to a SQL sentence which is executed by the org.openbravo.erpCommon.utility.UsedByLinkData class:
12:58:20 [ajp-8009-15] ERROR org.openbravo.erpCommon.utility.UsedByLinkData - SQL error in query: SELECT COUNT(*) AS ID FROM M_RequisitionLine WHERE AD_Org_ID = ? AND EXISTS (SELECT 1 FROM M_Requisition WHERE M_Requisition.M_Requisition_ID = M_RequisitionLine.M_Requisition_ID AND M_Requisition.Ad_User_ID = 100) AND AD_ORG_ID NOT IN ('0','1000000','1000002','1000003','1000004','1000005','1000006','1000008','1000009','1000007','68FE30EBEE36477D9E8D632B22FCB4E3')Exception:org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying = integer
12:58:20 [ajp-8009-15] ERROR org.openbravo.erpCommon.utility.UsedByLink - Error captured: javax.servlet.ServletException: @CODE=0@ERROR: operator does not exist: character varying = integer
So, from my point of view, we should remove the multiorg tag and reassign this bug to the responsible of the 'Linked Items' issue. |
|