Language string broken in institution stats overview page
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
19.04 |
Fix Released
|
Medium
|
Unassigned | |||
19.10 |
Fix Released
|
Medium
|
Unassigned | |||
20.04 |
Fix Released
|
Medium
|
Unassigned | |||
20.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There is an issue with [[profile/view]] broken string on a View type graph.
Part of the problem is the graph's data is cached in the database and so the broken string is stored there.
The fix for this both replaces the missing string and adds a bit to the data fetching so that any cached graph data that has a broken string recorded gets it to be translated as expected.
To test:
Have a site that contains institutions that has some members that have logged in and have made some pages (this will work best if the database has had some time to run crons for a week or so)
1) Login as admin
2) Go to the Admin -> Reports page
3) Click configure report
4) Choose an institution and keep 'report type' as 'overview'
5) See 'Pages overview' graph with the broken language string
summary: |
- Language string broken in instituion stats overview page + Language string broken in institution stats overview page |
Changed in mahara: | |
milestone: | 20.10.0 → none |
no longer affects: | mahara |
https:/ /reviews. mahara. org/#/c/ 11129/