Details
-
Type:
Bug
-
Status: OPEN
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 20.0
-
Fix Version/s: None
-
Component/s: Reference
-
Labels:
-
Environment:Docker:
- mysql:5.7 (5.7.32)
- mariadb:latest (10.5.8)
-
Conversion Script Required:Yes
-
Test Plan:
Description
2020-11-26 19:43:46+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/sakai_20-0_mysql_conversion.sql
ERROR 1091 (42000) at line 155: Can't DROP 'EXCLUDED'; check that column/key exists
The column `EXCLUDED` does not seem to exist at all and is not referenced in any prior migration according to `git grep`.
An IF EXISTS would only work for newer mysql implementations (works in mariadb:latest but fails in mysql:5.7 and mysql:latest).
So this line should probably be removed or - if really needed - wrapped into a procedure that is run on the condition that this column exists.
This line also exists in the oracle conversion, but I don't know if it's also a problem there.
The line was introduced in https://github.com/sakaiproject/sakai-reference/pull/86
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- relates to
-
SAK-33087 Exclude an individual GB item by student
- Verified