mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #25565
[Bug 1432641] Re: Changing view layout causes an error
Running a quick test, it turns out this problem is present from 1.8 on.
I've backported the fix to 1.10 and 1.9. The patch didn't apply cleanly
to 1.8, so I'm not going to backport there, since we're so close to the
end of support for 1.8.
** Changed in: mahara/1.9
Status: New => Fix Committed
** Changed in: mahara/1.8
Status: New => Won't Fix
--
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 ePortfolio:
Fix Committed
Status in Mahara 1.10 series:
Fix Committed
Status in Mahara 1.8 series:
Won't Fix
Status in Mahara 1.9 series:
Fix Committed
Status in Mahara 15.04 series:
Fix Committed
Status in Mahara 15.10 series:
Fix Committed
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