mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #46267
[Bug 1745042] [NEW] Social profile icon causing warning in Elasticsearch display
Public bug reported:
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/search/elasticsearch/type/ElasticsearchType_artefact.php::getRecordDataById
- 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:
/htdocs/theme/raw_old/plugintype/search/elasticsearch/templates/artefact.tpl
on line 15.
** Affects: mahara
Importance: Undecided
Assignee: Ghada El-Zoghbi (ghada-z)
Status: New
** Attachment added: "dwoo_error.png"
https://bugs.launchpad.net/bugs/1745042/+attachment/5041997/+files/dwoo_error.png
--
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/1745042
Title:
Social profile icon causing warning in Elasticsearch display
Status in Mahara:
New
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/search/elasticsearch/type/ElasticsearchType_artefact.php::getRecordDataById
- 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:
/htdocs/theme/raw_old/plugintype/search/elasticsearch/templates/artefact.tpl
on line 15.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1745042/+subscriptions
Follow ups
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Robert Lyon, 2018-04-05
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Cecilia Vela Gurovic, 2018-04-05
-
[Bug 1745042] A change has been merged
From: Mahara Bot, 2018-03-07
-
[Bug 1745042] A patch has been submitted for review
From: Mahara Bot, 2018-03-07
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Robert Lyon, 2018-03-07
-
[Bug 1745042] A change has been merged
From: Mahara Bot, 2018-03-07
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Ghada El-Zoghbi, 2018-03-07
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Ghada El-Zoghbi, 2018-03-07
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Kristina Hoeppner, 2018-02-04
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Robert Lyon, 2018-02-01
-
[Bug 1745042] A patch has been submitted for review
From: Mahara Bot, 2018-01-23
-
[Bug 1745042] Re: Social profile icon causing warning in Elasticsearch display
From: Kristina Hoeppner, 2018-01-23