Undefined index: institution

Bug #1825092 reported by Cecilia Vela Gurovic
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon
18.10
Fix Released
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
Revision history for this message
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)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/9803

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
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)
no longer affects: mahara/19.04
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "18.10_STABLE" branch: https://reviews.mahara.org/10001

Revision history for this message
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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.