mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #04660
[Bug 645040] Re: Too many view columns during parallel editing
** Changed in: mahara
Status: Fix Committed => Fix Released
** Changed in: mahara
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/645040
Title:
Too many view columns during parallel editing
Status in Mahara ePortfolio:
Fix Released
Bug description:
We have a Mahara 1.2.5 on a Linux server with MySQL Database.
During a Mahara Tutorial 25 people where editing a group view in parallel using the buttons add and remove columns.
After a while, displaying the view ended in a system error. A look in the database revealed that the view had 7 as the number of columns and (null) as its layout. Default layouts are only available up to 5 columns.
The function get_layout() in lib/view.php could therefore not determine a layout anymore.
I believe this is a Mahara bug. There should be some transactional mechanism between the JavaScript and the PHP script that prevents users from creating more than 5 columns in a view.
I just hacked the get_layout function to simply set the number of
columns to 5 in case it's bigger than 5, but this is not a permanent
solution.
Thanks in advance
Juergen Zimmer
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/645040/+subscriptions
References