errors when copying a page after editing column widths manually
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Unassigned | ||
20.04 |
Fix Released
|
High
|
Unassigned | ||
20.10 |
Fix Released
|
High
|
Cecilia Vela Gurovic |
Bug Description
For any version newer than 19.04, follow the steps below and then upgrade. It will display the same errors when trying to copy or translate the view with the old layout.
On 19.04
to replicate:
- go to User menu-> Preferences -> Settigns
- set 'Show controls to add and remove columns when editing a page' to yes and save
- create a view
- set a custom layout e.g. 3 rows with 3 columns and 1 row with 1 column
- play with the column changing the widths
- display the page and make a copy and try to edit the view
the following errors are displayed
[WAR] 28 (lib/view.php:2994) Undefined offset: 4
Call stack (most recent first):
log_
error(8, "Undefined offset: 4", "/home/
View-
set_
settings_
Pieform-
Pieform:
pieform(
create_
[WAR] 28 (lib/view.php:2994) Undefined offset: 3
Call stack (most recent first):
log_
error(8, "Undefined offset: 3", "/home/
View-
set_
settings_
Pieform-
Pieform:
pieform(
create_
[WAR] 28 (lib/view.php:2994) Undefined offset: 2
Call stack (most recent first):
log_
error(8, "Undefined offset: 2", "/home/
View-
set_
settings_
Pieform-
Pieform:
pieform(
create_
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
Changed in mahara: | |
milestone: | 20.10.0 → none |
Patch for "19.10_STABLE" branch: https:/ /reviews. mahara. org/10991