-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.2, 4.1
Step to reproduce:
- Do a fresh 3.11 install
- Install the bigbluebutton plugin 2.4-stable
- Create the recording table
CREATE TABLE mdl_bigbluebuttonbn_recordings (
id BIGINT(10) NOT NULL auto_increment,
courseid BIGINT(10) NOT NULL,
bigbluebuttonbnid BIGINT(10) NOT NULL,
groupid BIGINT(10),
recordingid VARCHAR(64) COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '',
headless TINYINT(1) NOT NULL DEFAULT 0,
imported TINYINT(1) NOT NULL DEFAULT 0,
status TINYINT(1) NOT NULL DEFAULT 0,
importeddata LONGTEXT COLLATE utf8mb4_0900_ai_ci,
timecreated BIGINT(10) NOT NULL DEFAULT 0,
usermodified BIGINT(10) NOT NULL DEFAULT 0,
timemodified BIGINT(10) NOT NULL DEFAULT 0,
CONSTRAINT PRIMARY KEY (id)
, KEY mdl_bigbreco_cou2_ix (courseid)
, KEY mdl_bigbreco_rec2_ix (recordingid)
, KEY mdl_bigbreco_big2_ix (bigbluebuttonbnid)
, KEY mdl_bigbreco_use2_ix (usermodified)
)
ENGINE = InnoDB
DEFAULT COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT=Compressed
COMMENT='The bigbluebuttonbn table to store references to recordings';
- Upgrade to 4.0.2 via the command line (php admin/cli/upgrade.php)
- The following error should appear:
mod_bigbluebuttonbn
|
Field "recording" does not exist in table "bigbluebuttonbn_recordings"
|
|
More information about this error
|
|
Debug info:
|
Error code: ddlfieldnotexist × Dismiss this notification
|
Stack trace:
|
line 683 of /lib/ddl/database_manager.php: ddl_field_missing_exception thrown
|
line 356 of /mod/bigbluebuttonbn/db/upgrade.php: call to database_manager->rename_field()
|
line 883 of /lib/upgradelib.php: call to xmldb_bigbluebuttonbn_upgrade()
|
line 582 of /lib/upgradelib.php: call to upgrade_plugins_modules()
|
line 1935 of /lib/upgradelib.php: call to upgrade_plugins()
|
line 719 of /admin/index.php: call to upgrade_noncore()
|