mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #30608
[Bug 1432641] Re: Changing view layout causes an error
** Changed in: mahara/15.10
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1432641
Title:
Changing view layout causes an error
Status in Mahara:
Fix Released
Status in Mahara 1.10 series:
Fix Released
Status in Mahara 1.9 series:
Fix Released
Status in Mahara 15.04 series:
Fix Released
Status in Mahara 15.10 series:
Fix Released
Bug description:
Steps to reproduce:
1. Create a new view
2. Select the layout with one column in first row and three columns in second
3. Add two textboxes to each column, 8 textboxes total
4. Change the layout to one row & one column
This results in following error:
[WAR] d1 (lib/dml.php:890) Failed to get a recordset: mysqli error: [1062: Duplicate entry '593-2-1-0' for key 'blocinst_vierowcolord_uk'] in adodb_throw(UPDATE "block_instance" SET "order" = 0 WHERE "order" = '1' AND "view" = '593' AND "row" = '2' AND "column" = 1, )
Command was: UPDATE "block_instance" SET "order" = ? WHERE "order" = ? AND "view" = ? AND "row" = ? AND "column" = ? and values was (0,1,593,2,1)
Tested in 1.9.1 (Ubuntu 14.04.2 / MySQL 5.5.35 / Chrome 41.0.2272.89
(64-bit)) and Mahara Demo (currently 1.10).
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1432641/+subscriptions
References