← Back to team overview

mahara-contributors team mailing list archive

[Bug 1537861] Re: View layout becomes corrupted when changed

 

Another issue with the view layout system is the use of the label
'columns' on some of the layout related tables.

In view_rows_columns the 'columns' represent the count of the number of
columns in the row

But in view_layout_rows_columns the 'columns' represent an id that maps
to the view_layout_columns table where 'columns' also represents an id
for the different types of widths

It would be worth cleaning this up so that the 'columns' that represent
an id be changed to something like 'columnid' so to differentiate the id
ones from the count ones

-- 
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/1537861

Title:
  View layout becomes corrupted when changed

Status in Mahara:
  Confirmed
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1537861/+subscriptions


References