Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
-
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.