Activity log for bug #1626805

Date Who What changed Old value New value Message
2016-09-23 01:57:49 Robert Lyon bug added bug
2016-09-23 01:59:05 Robert Lyon mahara: importance Undecided High
2016-09-23 01:59:13 Robert Lyon nominated for series mahara/16.04
2016-09-23 01:59:13 Robert Lyon bug task added mahara/16.04
2016-09-23 01:59:13 Robert Lyon nominated for series mahara/16.10
2016-09-23 01:59:13 Robert Lyon bug task added mahara/16.10
2016-09-23 01:59:31 Robert Lyon mahara/16.04: importance Undecided High
2016-09-23 02:01:33 Robert Lyon nominated for series mahara/15.10
2016-09-23 02:01:33 Robert Lyon bug task added mahara/15.10
2016-09-23 02:01:43 Robert Lyon mahara/15.10: importance Undecided High
2016-09-23 02:01:53 Robert Lyon description There is an issue with race conditions and copying pages in Maharra when using a MySQL database. What happens is the values in view_rows_columns for the view get deleted somehow and this ends up making the page look empty/page blocks 'look' deleted. They still exist but the system doesn't know how to display the page. Luckily we can work out what the rows were by looking at data from a number of other tables and repopulate the table. I'll add a fix for this. To test: before patch: 1) Create a page and add some blocks to it 2) create another page and set the layout to multiple rows and add some blocks on each row 3) View the pages to make sure they look ok, open each in a new tab for ease of checking 4) Go to the db and then run: SELECT FROM view_rows_columns WHERE view = [viewid]; to see what rows it has DELETE FROM view_rows_columns WHERE view = [viewid]; and get the [viewid] from the urls off the pages 5) Refresh the pages they should be blank (and you will get a bunch of errors in debugging on) 6) Checkout patch and refresh the pages again you should see the pages looking correct again 7) Check the db again and see the rows have returned and should be the same as before There is an issue with race conditions and copying pages in Mahara when using a MySQL database. What happens is the values in view_rows_columns for the view get deleted somehow and this ends up making the page look empty/page blocks 'look' deleted. They still exist but the system doesn't know how to display the page. Luckily we can work out what the rows were by looking at data from a number of other tables and repopulate the table. I'll add a fix for this. To test: before patch: 1) Create a page and add some blocks to it 2) create another page and set the layout to multiple rows and add some blocks on each row 3) View the pages to make sure they look ok, open each in a new tab for ease of checking 4) Go to the db and then run:   SELECT FROM view_rows_columns WHERE view = [viewid]; to see what rows it has   DELETE FROM view_rows_columns WHERE view = [viewid]; and get the [viewid] from the urls off the pages 5) Refresh the pages they should be blank (and you will get a bunch of errors in debugging on) 6) Checkout patch and refresh the pages again you should see the pages looking correct again 7) Check the db again and see the rows have returned and should be the same as before
2016-09-23 02:02:05 Robert Lyon mahara/16.10: milestone 16.10.0
2016-09-23 02:02:12 Robert Lyon mahara/16.04: milestone 16.04.4
2016-09-23 02:02:15 Robert Lyon mahara/15.10: milestone 15.10.6
2016-09-23 02:04:28 Robert Lyon bug task deleted mahara/15.10
2016-09-23 02:04:38 Robert Lyon mahara/16.10: status New In Progress
2016-10-12 00:34:05 Kristina Hoeppner mahara/16.04: status New Confirmed
2016-10-19 23:16:09 Robert Lyon mahara/16.10: status In Progress Fix Committed
2016-10-21 02:39:17 Robert Lyon mahara/16.10: status Fix Committed Fix Released
2016-10-21 02:39:18 Robert Lyon mahara: milestone 16.10.0
2016-10-24 22:49:26 Robert Lyon mahara/16.04: status Confirmed In Progress
2016-10-25 06:30:55 Robert Lyon mahara/16.04: status In Progress Fix Committed
2016-10-25 07:21:55 Robert Lyon mahara: status Fix Committed Fix Released
2016-10-25 07:21:57 Robert Lyon mahara/16.04: status Fix Committed Fix Released
2016-10-26 03:13:02 Kristina Hoeppner bug task deleted mahara