Yes, we have our first annoying bug in Dokeos 1.8.5. It has a very restricted scope, and only happens once you voluntarily activate a new function, but it is there...
When you *upgrade* your portal from anything to a 1.8.5, there is a missing bit of SQL in the upgrade process that mean you will not have a column called "theme" inside your courses' lp tables.
First, let me tell you that you can fix it pretty easily before upgrading, by adding this line to the end of main/install/migrate-db-1.8.4-1.8.5.pre.sql:
ALTER TABLE lp ADD theme varchar(255) not null default '';And the conditions to reproduce the bug are these:
- upgrade to 1.8.5 (the bug doesn't appear on fresh installs)
- in a course that existed before the upgrade, go to the course settings
- activate the option to set a CSS theme by learning path
- go to the learning paths page
- edit a learning path's properties by clicking the pencil icon
- change the theme used for this learning path
- click ok