Undefined index: institution

Bug #1825092 reported by Cecilia Vela Gurovic on 2019-04-17
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Medium
Robert Lyon
18.10
Medium
Unassigned

Bug Description

In admin menu click on Configure site-> Site options (/admin/site/options.php)

When loading the page I see the error message:

[WAR] 94 (lib/form/elements/autocomplete.php:124) Undefined index: institution

this error comes from the changes made in the patch 1fa6bfc59cdaa1d7895619ee3bae062cf5edfd11

Changed in mahara:
milestone: none → 19.04.0
Robert Lyon (robertl-9) wrote :

There is a patch for this here https://reviews.mahara.org/#/c/9776/

I'll update the bug number in the commit message to point to this bug

Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Robert Lyon (robertl-9)

Reviewed: https://reviews.mahara.org/9776
Committed: https://git.mahara.org/mahara/mahara/commit/c094ebe8d5e350293c1d7685df1d665a767624db
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit c094ebe8d5e350293c1d7685df1d665a767624db
Author: Robert Lyon <email address hidden>
Date: Tue Apr 16 09:40:58 2019 +1200

Bug 1825092: Check institution is set in autocomplete form element

To avoid error "Undefined index: institution" in
htdocs/lib/form/elements/autocomplete.php line 124

behatnotneeded

Change-Id: Iaf5c0d0de082d787539a6e406a27fd237ed05046
Signed-off-by: Robert Lyon <email address hidden>

Reviewed: https://reviews.mahara.org/9803
Committed: https://git.mahara.org/mahara/mahara/commit/2aec1860fdb332b8e512a2a04e09f6bcb3bb7c46
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE

commit 2aec1860fdb332b8e512a2a04e09f6bcb3bb7c46
Author: Robert Lyon <email address hidden>
Date: Tue Apr 16 09:40:58 2019 +1200

Bug 1825092: Check institution is set in autocomplete form element

To avoid error "Undefined index: institution" in
htdocs/lib/form/elements/autocomplete.php line 124

behatnotneeded

Change-Id: Iaf5c0d0de082d787539a6e406a27fd237ed05046
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit c094ebe8d5e350293c1d7685df1d665a767624db)

Robert Lyon (robertl-9) on 2019-04-17
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
Ghada El-Zoghbi (ghada-z) wrote :

Hi Robert ,

Is this going to be back ported to 18.10? I'm getting the warning there as well.

Thanks,
Ghada

Robert Lyon (robertl-9) on 2019-05-13
no longer affects: mahara/19.04
Robert Lyon (robertl-9) wrote :

Hi Ghada,

Yep - it should be backported - I've assigned it to 18.10 branch as well and made a patch

Reviewed: https://reviews.mahara.org/10001
Committed: https://git.mahara.org/mahara/mahara/commit/17d64779feda7c98d562c9ff47234263e0665473
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.10_STABLE

commit 17d64779feda7c98d562c9ff47234263e0665473
Author: Robert Lyon <email address hidden>
Date: Tue Apr 16 09:40:58 2019 +1200

Bug 1825092: Check institution is set in autocomplete form element

To avoid error "Undefined index: institution" in
htdocs/lib/form/elements/autocomplete.php line 124

behatnotneeded

Change-Id: Iaf5c0d0de082d787539a6e406a27fd237ed05046
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit c094ebe8d5e350293c1d7685df1d665a767624db)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers