Submitter: Robert Lyon (robe...@catalyst.net.nz)
Author: Ghada El-Zoghbi <gh...@catalyst-au.net>
Date: Wed Jan 24 10:12:35 2018 +1100
Bug 1745042: set link and icon attribute for socialprofiles
When a user shares their socialprofile on their
profile page and another user searches
for that social profile (using elsaticsearch),
the icon attribute is never set.
Because social profiles are external to Mahara,
we can display the link to users.
Sponsored by The Australian National University
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!
Social profile icon causing warning in Elasticsearch display
Status in Mahara:
Status in Mahara 17.10 series:
Status in Mahara 18.04 series:
Mahara: 17:10.2 (2017092611)
OS: Linux 16.04
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:
- lines 353-356
If the array $icons is empty, the properties: link and icon
do not get set.
Which leads to this warning in the template:
on line 15.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~mahara-contributors
Post to : email@example.com
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp