diff --git a/docker_build_files/ope-canvas/Dockerfile b/docker_build_files/ope-canvas/Dockerfile index fa0eaa6f..afd38ff0 100644 --- a/docker_build_files/ope-canvas/Dockerfile +++ b/docker_build_files/ope-canvas/Dockerfile @@ -135,7 +135,7 @@ RUN COMPILE_ASSETS_NPM_INSTALL=0 bundle exec rake canvas:compile_assets USER docker -LABEL rebuild=33 +LABEL rebuild=34 COPY amazon_s3.yml config/amazon_s3.yml COPY delayed_jobs.yml config/delayed_jobs.yml diff --git a/docker_build_files/ope-canvas/start.sh b/docker_build_files/ope-canvas/start.sh index 6cce241a..94fe845c 100644 --- a/docker_build_files/ope-canvas/start.sh +++ b/docker_build_files/ope-canvas/start.sh @@ -60,6 +60,10 @@ cp config/security.yml.tmpl config/security.yml sed -i -- "s//$CANVAS_SECRET/g" config/security.yml +# Fix ::int4[] instead of ::int8[] in app/models/assignment.rb (line 2477, issue #1238) +sed -i -- "s/\:\:int4\[\]/\:\:int8\[\]/g" app/models/assignment.rb + + # Javascript - uses float to store ints, so max is 53 bits instead of 64? # 9_223_372_036_854_775_807 - Normal Max 64 bit int - for every language but JScript # 0_009_007_199_254_740_991 - Max safe int for jscript (jscript, you suck in so many ways)