← Back to team overview

mahara-contributors team mailing list archive

[Bug 1393734] Re: Textbox config form very slow to load

 

Hi Mike,

To expand on what Kristina said, in Mahara 1.10 we split the old "Text
box" block into two new block types: "Text", a lightweight block which
only stores non-reusable text, and "Note", which has all the extra
functionality of the old "Text box" block -- attachments, reusability,
etc.

It sounds like you're talking about the 1.9 Text Box block (which is now
the 1.10 Note block)? The Note block is almost exactly the same as the
Text Box block, code-wise, so the same issue probably apply there. But,
it's mitigated somewhat in 1.10 because:

1. Most Text Box blocks will probably have been converted to Text by the
1.9 -> 1.10 upgrade, so there'll be less of them to cause scaling
issues. (The upgrade script converts a Text Box to a Note if it is used
in multiple pages or contains attachments, and a Text otherwise.)

2. Users won't be interacting as much with the Note block, since they
can now use the Text block for all the simple cases.

Cheers,
Aaron

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

Title:
  Textbox config form very slow to load

Status in Mahara ePortfolio:
  New

Bug description:
  In a large instance of Mahara, the loading of the textbox config. form
  is very slow (often over 10 seconds). This seems to be mainly due to
  the listing of other textboxes, which can be revealed by clicking on
  the 'Use content from another note' link.

  It would be good to load this list as required, rather than every time
  the textbox config. form is opened.

  In addition, the database query to load available textboxes should be
  optimised or adapted for better perfomance if possible.

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


References