← Back to team overview

mahara-contributors team mailing list archive

[Bug 1236767] Re: Custom layouts aren't displayed properly and can't be created with more than 4 rows

 

Hi again Angela,

I took a look at the screencast, and it is indeed just as you described:

 - Clicking "add row" to add a fourth, fifth, or sixth row doesn't update the preview image
 - The "create layout" button is non-responsive when there are 5 or 6 rows
 - When there are four rows, the "Create layout" button seems to create a layout, but it is missing its preview thumbnail.

I was, however, still unable to replicate this locally. It works
correctly in my Firefox and Chromium browsers on Ubuntu 12.04 -- I can
create layouts of up to 6 rows, with the correct thumbnails. I also
tried changing my local site from HTTP to HTTPS to see if that might be
the problem, but it still worked, in both browsers

Here are a few more pieces of information that might help us track this
down:

1. Does it behave the same if you use a different browser?

2. Do you see any error messages in your PHP error logs when this
happens? (Since you're running an Ubuntu server, by default PHP errors
will be printed into the Apache error logs at
/var/log/apache2/error.log). You could also turn on
"$cfg->productionmode=false;" in your config.php file to display
warnings and errors in the browser, in which case the warning messages
from this would probably show up on the next page after you navigated
away.

3. If you don't see any PHP warnings, do you see any Javascript errors?
(You may need to activate the Chrome dev tools to see Javascript errors)

Cheers,
Aaron

** Changed in: mahara
       Status: Incomplete => In Progress

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

Title:
  Custom layouts aren't displayed properly and can't be created with
  more than 4 rows

Status in Mahara ePortfolio:
  In Progress

Bug description:
  I just tested the Mahara 1.8rc1, on a linux server with a MySQL DB. To
  view the site I am using a Mac OS Laptop with Chrome Version
  30.0.1599.69.

  When using the "create custom layout" feature I have multiple
  problems:

  - The preview only is displayed correctly for 1 - 3 rows, after adding the fourth row the preview doesn't update anymore
  - When adding a custom layout with up to 3 rows, the layout gets added to the other layout options. Adding a 4 row layout does work, but there is just a default thumb, not a picture of the layout.
  - Even though I can add up to 6 rows the adding of custom layouts with 5 or 6 rows doesn't work at all.

  I attached a screenshot of the problems.

  Regards,
  Angela

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


References