Issue Details (XML | Word | Printable)

Key: MDL-17165
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Eloy Lafuente (stronk7)
Reporter: Gary Marshall
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Current build does not install

Created: 08/Nov/08 02:46 AM   Updated: 11/Nov/08 08:13 PM
Component/s: Installation
Affects Version/s: 1.9.3
Fix Version/s: 1.9.3

Environment: Linux Apache MySQL

Database: MySQL
Participants: Eloy Lafuente (stronk7) and Gary Marshall
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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...



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Gary Marshall added a comment - 11/Nov/08 01:34 AM
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


Eloy Lafuente (stronk7) added a comment - 11/Nov/08 08:13 PM
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.