Social profile icon causing warning in Elasticsearch display
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Ghada El-Zoghbi | ||
17.10 |
Fix Released
|
Medium
|
Unassigned | ||
18.04 |
Fix Released
|
Medium
|
Ghada El-Zoghbi |
Bug Description
Mahara: 17:10.2 (2017092611)
OS: Linux 16.04
DB: Postgres
Browser: any
An warning is displayed (and debug is on) when using Elastisearch when searching on data. Please refer to attached image of warning.
We are using the raw_old theme but it's also present in raw.
I haven't been able to track down the data itself but I can see that it stems from a social profile not having a relevant icon. And, I can track it down to:
/htdocs/
If the array $icons is empty, the properties: link and icon
do not get set.
Which leads to this warning in the template:
/htdocs/
on line 15.
Changed in mahara: | |
milestone: | none → 18.04.0 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Patch for "master" branch: https:/ /reviews. mahara. org/8466