Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-682

Upgrading mod-agreements module from Daisy to Edelweiss fails

    XMLWordPrintable

Details

    • ERM Sprint 82
    • Bienenvolk

    Description

      While upgrading mod-agreements from Daisy(v1.10.0) to Edelweiss(v2.0.0), we are noticing a problem:

      POST request to /_/proxy/tenants/fs00001000/install is failing with an error below:
      ERROR — [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: column fileupload0_.file_object_id does not exist
      ERROR — [ main] o.s.boot.SpringApplication : Application startup failed
      ERROR — [ main] o.s.boot.SpringApplication : Application startup failed
      org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not extract ResultSet; bad SQL grammar [n/a]; nested exception is org.postgresql.util.PSQLException: ERROR: column fileupload0_.file_object_id does not exist
      org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not extract ResultSet; bad SQL grammar [n/a]; nested exception is org.postgresql.util.PSQLException: ERROR: column fileupload0_.file_object_id does not exist

      We were hoping that renaming the column from fu_bytes to file_object_id should be taken care of as part of data migrations but looks like it hasn't been.

      TestRail: Results

        Attachments

          Activity

            People

              sduvvuri Sobha Duvvuri
              sduvvuri Sobha Duvvuri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases