Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-2167

SQL-Update-Skript 400-to-500-migration.sql has several errors in SQL syntax for Oracle (maybe others, too)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.1.2, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 6.0.0, 6.0.1
    • None
    • Roller Server on RHEL/Centos Linux 8, Oracle Database , Tomcat 9, OpenJDK 18, Roller 6.0.1
    • Firefox 83.0
    • Oracle Database Enterprise Ed. 19.0.3
    • OpenJDK 18.9
    • Red Hat Enterprise Linux release 8.3 (Ootpa)
    • Patch

    Description

      The update script 400-to-500-migration.sql has several syntax errors in SQL-syntax. Even one error ( Fix for https://issues.apache.org/jira/browse/ROL-1760 ) contains a problem when a column is populated when updating from a version prior 5.0.0.

       

      This problem occurred when trying to update the database from an inherited ancient Roller 4.x database...

      Attached here is a possible fix for the problem as "diff -u "-patch.

       

      (now working on 500-to-510-migration.sql to provide fixes for errors in that script)

       

      Attachments

        1. 400-to-500-migration.sql.patch
          3 kB
          Peter Ohlerich

        Activity

          People

            Unassigned Unassigned
            pohlerich Peter Ohlerich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: