Moodle

Current build does not install

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.3
  • Component/s: Installation
  • Labels:
    None
  • Environment:
    Linux Apache MySQL
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

The current build (tgz) does not install, both 1.9.3 and 2.x

(mysql): INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(NULL,10) 1048: Column 'roleid' cannot be null

ADOConnection._Execute(INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(NULL,10)) % line 874, file: adodb.inc.php
ADOConnection.Execute(INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(?,?), Array[2]) % line 271, file: adodb_moodle_database.php
adodb_moodle_database.insert_record_raw(role_context_levels, Array[2], false, true) % line 178, file: mysqli_adodb_moodle_database.php
mysqli_adodb_moodle_database.insert_record(role_context_levels, Object:stdClass, false, true) % line 4392, file: accesslib.php
set_role_contextlevels(null, Array[1]) % line 1829, file: accesslib.php

[[couldnotdeleterolecontextlevels]]

There also seems to be an install issue with the current 1.9.3 cvs version, still testing...

Activity

Hide
Gary Marshall added a comment -

Close please.

New tarballs and cvs for both 1.9 and 2.0 seem to be fine now. Was worried someone didnt spot the problem because of the age of the updates so submitted a ticket just to be sure

Show
Gary Marshall added a comment - Close please. New tarballs and cvs for both 1.9 and 2.0 seem to be fine now. Was worried someone didnt spot the problem because of the age of the updates so submitted a ticket just to be sure
Hide
Eloy Lafuente (stronk7) added a comment -

Fixed while fixing one incorrect commit some days ago (related to one wrong usage of the set_role_contextlevels() function).

Thanks for report and feedback, Gary. Closing as suggested.

Show
Eloy Lafuente (stronk7) added a comment - Fixed while fixing one incorrect commit some days ago (related to one wrong usage of the set_role_contextlevels() function). Thanks for report and feedback, Gary. Closing as suggested.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: