Copying a collection displays a warning message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
17.04 |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
17.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
Tested on
Site: https:/
Browser: Chrome/FF/Safari 10.0.3
Device: Desktop/MacBook Pro
Steps to reproduce:
1)Navigate to Portfolio>Pages and collections
2)Click on Copy button
3) Click on Copy collection button
Actual Result on desktop : A warning message is desplayed , please find it below
[WAR] e7 (lib/adodb/
Call stack (most recent first):
log_message("Array to string conversion", 8, true, true, "/home/
error(8, "Array to string conversion", "/home/
ADODB_Exception
adodb_throw(
ADODB_TransMoni
ADOConnection-
ADOConnection-
update_
Collection-
Collection-
Collection:
createview_
Pieform-
Pieform:
pieform(array(size 8)) at /home/niranjanb
[WAR] e7 (lib/errors.
DETAIL: Failing row contains (8, 1, 2017-04-10 11:16:53, 2017-04-10 11:16:53, collect5555 v.2, sagdsgsag, 1, null, null, null, null, null, null, null).] in adodb_throw(UPDATE "collection" SET "name" = ?, "description" = ?, "owner" = ?, "group" = ?, "institution" = ?, "mtime" = ?, "ctime" = ?, "navigation" = ?, "submittedgroup" = ?, "submittedhost" = ?, "submittedtime" = ?, "submittedstatus" = ?, "framework" = ? WHERE "id" = ?, Array)Command was: UPDATE "collection" SET "name" = ?, "description" = ?, "owner" = ?, "group" = ?, "institution" = ?, "mtime" = ?, "ctime" = ?, "navigation" = ?, "submittedgroup" = ?, "submittedhost" = ?, "submittedtime" = ?, "submittedstatus" = ?, "framework" = ? WHERE "id" = ? and values was (0:collect5555v
Call stack (most recent first):
log_message("Failed to get a recordset: postgres8 error: [-1: E...", 8, true, true) at /home/niranjanb
log_warn("Failed to get a recordset: postgres8 error: [-1: E...") at /home/niranjanb
SQLException-
update_
Collection-
Collection-
Collection:
createview_
Pieform-
Pieform:
pieform(array(size 8)) at /home/niranjanb
[WAR] e7 (lib/dml.php:1308) Failed to get a recordset: postgres8 error: [-1: ERROR: null value in column "submittedstatus" violates not-null constraint
DETAIL: Failing row contains (8, 1, 2017-04-10 11:16:53, 2017-04-10 11:16:53, collect5555 v.2, sagdsgsag, 1, null, null, null, null, null, null, null).] in adodb_throw(UPDATE "collection" SET "name" = ?, "description" = ?, "owner" = ?, "group" = ?, "institution" = ?, "mtime" = ?, "ctime" = ?, "navigation" = ?, "submittedgroup" = ?, "submittedhost" = ?, "submittedtime" = ?, "submittedstatus" = ?, "framework" = ? WHERE "id" = ?, Array)Command was: UPDATE "collection" SET "name" = ?, "description" = ?, "owner" = ?, "group" = ?, "institution" = ?, "mtime" = ?, "ctime" = ?, "navigation" = ?, "submittedgroup" = ?, "submittedhost" = ?, "submittedtime" = ?, "submittedstatus" = ?, "framework" = ? WHERE "id" = ? and values was (0:collect5555v
Call stack (most recent first):
update_
Collection-
Collection-
Collection:
createview_
Pieform-
Pieform:
pieform(array(size 8)) at /home/niranjanb
And on safari I get the follwing message
Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in mahara: | |
milestone: | none → 17.04.1 |
status: | Confirmed → In Progress |
Patch for "master" branch: https:/ /reviews. mahara. org/7610