Negative block_instance sortorders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Invalid
|
High
|
Unassigned |
Bug Description
Mahara: 15.10.5
DB: MySql
OS: Linux
Browser: FF
The issue of negative sort order has reappeared again after the upgrade went through the script for 'Sorting out block_instance sort order drift'.
When trying to edit a page, it generates the following errors:
[WAR] a6 (lib/view.php:1946) Undefined offset: 2
Call stack (most recent first):
log_
error(8, "Undefined offset: 2", "/var/www/
View-
View-
View-
[WAR] a6 (lib/view.php:1946) Trying to get property of non-object
Call stack (most recent first):
log_
error(8, "Trying to get property of non-object", "/var/www/
View-
View-
View-
And, users aren't able to edit the layout. They get the following warning:
Could not change the column layout. Someone else may have been editing the layout at the same time. Please try again later.
I haven't been able to pinpoint the cause of the error.
Bug #1613135 tried to fix the existing data. Unfortunately, the underlying issue still seems to exist.
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → High |
Update:
This may have been an issue due to a customization in the upgrade script for this client. We found a bug in the upgrade script.
I have checked their DB and there are no negative block_instance order columns any more.
Probably best to cancel this bug.
Sorry...
Ghada