← 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 Angela,

Actually all I see in your screenshots is the thumb.php requests. What
I'm most interested in is the blocks.json.php requests. (see my
screenshot).

However, that JSON string you've described, well, that is the heart of
the problem. Rather than "message":null, it should be giving us a
"message" with sufficient data to set up the next couple of rows.

Unfortunately, there's no error message!

Hm... I'm running low on things that I can troubleshoot from a distance.
:) There are only two more things I can think of right now:

1. In Chrome, open up the Javascript Console (it's in the Tools menu)
and replicate the error, to see whether there are any Javascript errors

2. See whether we're sending a properly formed request to
blocks.json.php . Again on the Developer Tools "Network" tab, you should
see a request to blocks.json.php when you click the "Add row" button.
Click on that, go to the "Headers" subtab, and then look for the "Form
Data" section. You should see something like this:

id:7
change:1
action_updatecustomlayoutpreview_numrows_3_row1_5_row2_5_row3_5:1

Cheers,
Aaron

** Attachment added: "blocks.json.png"
   https://bugs.launchpad.net/mahara/+bug/1236767/+attachment/3887910/+files/blocks.json.png

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