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)

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            pohlerich Peter Ohlerich

            Dates

              Created:
              Updated:

              Slack

                Issue deployment