mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #52380
[Bug 1820927] Re: Two $string['portfolio'] language strings in view.php lang file
Environment tested: Master
Browser tested: Chrome
Scenario 1 -Site admin creates group and enables 'participation report'
PRECONDITIONS:
------------------------
1) Site admin exists
2) Site admin creates a "Site Participate Group" and 'participation report' is enabled
3) Reports page (admin -> reports) = Report configuration = All institutions and Report type is set to Overview
TEST STEPS:
------------------------
1) Log in as Site admin
2) Browse to "Site Participate Group" report page
3) Verify that the page mentions 1 portfolio ✔ (note Lower case p)
4) Site admin Browse to admin -> reports page
5) Verify the 'Pages by type' graph has 'Portfolio' ✔ (note Upper case P)
====================================
Scenario 2 -Inst admin creates group and enables 'participation report'
PRECONDITIONS:
------------------------
1) User1 exists and is an Institution One admin
2) Institution One exists
3) Institution One admin creates "Participate Group" and 'participation report' is enabled
4) "Participate Group" exists and has the following members
a) User1 - admin - has not added group page
b) User3 - member - has added group page also has created a portfolio page
c) User4 - member - has not added group page
5) Reports page (admin -> reports) = Report configuration = Institution One and Report type is set to Overview
TEST STEPS:
------------------------
1) Log in as User1
2) Browse to "Participate Group" report page
3) Verify that the page mentions 1 portfolio ✔ (note Lower case p)
NOTE: The following must be run before the graph displays
a) Force the cron to run the daily stats by running this command in database: UPDATE cron SET nextrun = NULL;
b) In a terminal run: sudo -u www-data php htdocs/lib/cron.php
4) User1 Browse to admin -> reports page
5) Verify the 'Pages by type' graph has 'Portfolio' ✔
Further Testing
---------------------------------------------
Run the above test scripts on the following versions
a) 18.10_STABLE ✔
b) 18.04_STABLE ✔
c) 17.10_STABLE ✔
Catalyst QA Approved ✔
--
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/1820927
Title:
Two $string['portfolio'] language strings in view.php lang file
Status in Mahara:
Fix Committed
Status in Mahara 17.10 series:
Fix Committed
Status in Mahara 18.04 series:
Fix Committed
Status in Mahara 18.10 series:
Fix Committed
Status in Mahara 19.04 series:
Fix Committed
Bug description:
There is
$string['portfolio'] = 'portfolio';
and
$string['portfolio'] = 'Portfolio';
but only the second one gets used
We need to sort this out so uppercase one is
$string['Portfolio'] = 'Portfolio';
To test:
Before patch
1) Create a group as an admin and turn on 'participation report'
2) Go to the group 'report' page and see it mention '1 Portfolio' (should say '1 portfolio')
3) Go to admin -> reports - the 'Pages by type' graph has 'Portfolio'
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1820927/+subscriptions
References