View layout becomes corrupted when changed
Bug #1537861 reported by
Matt Di Giuseppe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
16.04 |
Fix Released
|
High
|
Unassigned | ||
16.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
Version: Mahara 15.04.5 (only encountered on this version, after upgrading from 15.04.4)
We have had 2 users (out of over a thousand) have this problem so far, and I've been unable reproduce it or trace a specific cause but we do know the order of events and the outcome:
They copy a page from another user
Change content or add some new content
Attempt to change the layout (say from 3 columns to 2 columns)
Something goes wrong while the layout is being changed and the data in the table view_rows_columns no longer matches what's in the view table, and the page won't load anymore.
As more users encounter this problem (and I'm assuming they will) I will update this report.
Changed in mahara: | |
status: | New → In Progress |
milestone: | none → 16.04.0 |
importance: | Undecided → High |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
milestone: | 16.04.0 → 16.04.1 |
Changed in mahara: | |
milestone: | 16.04.1 → 16.04.2 |
Changed in mahara: | |
milestone: | 16.04.2 → 16.04.3 |
To post a comment you must log in.
I got a description from a user, which doesn't make a lot of sense in this context:
"I did change the layout of the page, but after I made that change and saved it, everything
was still working perfectly. I put a few ideas of my own onto the page by using the text block feature, which also had zero issues. The last thing I did before saving my work and logging out was add my Oxford University Journal Article. I added it in pdf format, and then clicked done at the bottom of the page; everything looked great. The problem arose about 45 minutes later, when I logged back in to continue my work, and it refused to load the page."
So it looks like something happened to the page while the user was not editing it, which makes no sense to me unless shared pages are possibly retaining links to the layout of the original?
Another user had the same problem today, which I can give some more information on. The page SHOULD have 6 rows and 2 columns according to the view table. In the views_rows_columns table it only has entries for rows 3-6, and each row only has 1 column. view_layout agrees that there are 6 columns. view_layout_columns also indicates 6 rows, but only 1 column each.
So there's a discrepancy between view and pretty much everything else, and in view_rows_columns where entries for the first 2 rows are missing.
On a related note, why are there so many tables to track layout?