mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #25222
[Bug 1432641] A change has been merged
Reviewed: https://reviews.mahara.org/4537
Committed: http://gitorious.org/mahara/mahara/commit/ccd48aa2a07d27169f29204875a8d8a571a69549
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: 15.04_STABLE
commit ccd48aa2a07d27169f29204875a8d8a571a69549
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date: Tue Mar 31 07:34:04 2015 +1300
Fix bugs when changing view layout. Bug 1432641
Change-Id: I0ae87e94bd7ad723a19045598280a6c4880aa3d8
Signed-off-by: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
--
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
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