← Back to team overview

mahara-contributors team mailing list archive

[Bug 1879410] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10983
Committed: https://git.mahara.org/mahara/mahara/commit/d811cd3c6c820655697c2a2c5ad7d875d4709b78
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit d811cd3c6c820655697c2a2c5ad7d875d4709b78
Author: Aatharsh Girishwar Vijaya Sugumar <aatharshsugumar@xxxxxxxxxxxxxxx>
Date:   Tue May 19 13:56:41 2020 +1200

Bug 1879410: Add a text block in Dashboard page using
TestingDataGenerator.php

Modified create_block() functionality of TestingDataGenerator.php to generate
blocks in the Dashboard page

Modified code based on review comments - moved sql query to else block, used list
instead of array and added type='dashboard' in sql query, modified dashboard
str match from preg match

Change-Id: I8880226008217b0bc3ed9b97301ad060c998d058
Signed-off-by: Aatharsh Girishwar Vijaya Sugumar <aatharshsugumar@xxxxxxxxxxxxxxx>

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

Title:
  Add a text block in Dashboard page using TestingDataGenerator.php

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  New
Status in Mahara 19.10 series:
  New
Status in Mahara 20.04 series:
  New
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  Data generator scripts are used to auto-populate cloud instances
  (Mahara QA sites) with pre-defined test data.

  Modification of the create_block() function of
  TestingDataGenerator.php is required to add a Text block in the
  Dashboard page.

  Test instructions:
  A site created with pre-populated data using the data population script should have a Text block in the dashboard page of every people with info like group count, group admin count, group member count.

  When logged in as People1 the text block on dashboard will have 
  Group Count:2 Group Admin:2 Group member:0 
  and for People101
  Group Count:2 Group Admin:1 Group member:1

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


References