Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-91495

ORA-00604 when running update.sql script to upgrade kaleo tables

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.X, Master
    • Fix Version/s: Master
    • Component/s: Workflow > Upgrade
    • Labels:

      Description

      in Oracle databases, when running com.liferay.portal.workflow.kaleo.internal.upgrade.v1_4_0.UpgradeSchema#updateSQL upgrade, the following warnings are thrown:

      WARN - ORA-00604: se ha producido un error a nivel 1 de SQL recursivo_ORA-06502: PL/SQL: error numérico o de valor_ORA-06512: en línea 11_ORA-00933: comando SQL no terminado correctamente: drop table if exists KaleoTaskForm;_ [Sanitized]
      
      WARN - ORA-00604: se ha producido un error a nivel 1 de SQL recursivo_ORA-06502: PL/SQL: error numérico o de valor_ORA-06512: en línea 11_ORA-00933: comando SQL no terminado correctamente: drop table if exists KaleoTaskFormInstance;_ [Sanitized]
      
      WARN - ORA-00604: se ha producido un error a nivel 1 de SQL recursivo_ORA-06502: PL/SQL: error numérico o de valor_ORA-06512: en línea 11_ORA-00933: comando SQL no terminado correctamente: drop table if exists KaleoDefinitionVersion;_ [Sanitized]

      The origin of the error lays on the sintaxis used to drop the tables:

      drop table if exists KaleoTaskForm;
      drop table if exists KaleoTaskFormInstance;
      drop table if exists KaleoDefinitionVersion;
      

      Which will only work for some databases, since it's not an ANSI SQL command.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 27 weeks, 4 days ago

                  Packages

                  Version Package
                  Master