mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #35983
[Bug 1595364] [NEW] Unable to remove first auth method via institution edit
Public bug reported:
There is a bug in the code that stops one from removing the first option
from auth methods for an institution
This is due to the way we are using jQuery.remove()
Get the console error:
TypeError: elem is null
while ((child = elem.firstChild)) {
Due to: instances.remove(i)
when i = 1 or above it removes the row relating to the count before
rebuilding the rows but when i = 0 it removes all the rows and so
nothing to rebuild
Will fix this up so it actually removes the row relating to the id
** Affects: mahara
Importance: Medium
Assignee: Robert Lyon (robertl-9)
Status: In Progress
--
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/1595364
Title:
Unable to remove first auth method via institution edit
Status in Mahara:
In Progress
Bug description:
There is a bug in the code that stops one from removing the first
option from auth methods for an institution
This is due to the way we are using jQuery.remove()
Get the console error:
TypeError: elem is null
while ((child = elem.firstChild)) {
Due to: instances.remove(i)
when i = 1 or above it removes the row relating to the count before
rebuilding the rows but when i = 0 it removes all the rows and so
nothing to rebuild
Will fix this up so it actually removes the row relating to the id
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1595364/+subscriptions
Follow ups
-
[Bug 1595364] Re: Unable to remove first auth method via institution edit
From: Robert Lyon, 2016-10-25
-
[Bug 1595364] Re: Unable to remove first auth method via institution edit
From: Robert Lyon, 2016-10-25
-
[Bug 1595364] Re: Unable to remove first auth method via institution edit
From: Robert Lyon, 2016-10-21
-
[Bug 1595364] Re: Unable to remove first auth method via institution edit
From: Robert Lyon, 2016-10-03
-
[Bug 1595364] A change has been merged
From: Mahara Bot, 2016-08-11
-
[Bug 1595364] A change has been merged
From: Mahara Bot, 2016-08-11
-
[Bug 1595364] A patch has been submitted for review
From: Mahara Bot, 2016-08-10
-
[Bug 1595364] A patch has been submitted for review
From: Mahara Bot, 2016-08-10
-
[Bug 1595364] Re: Unable to remove first auth method via institution edit
From: Robert Lyon, 2016-08-10
-
[Bug 1595364] A change has been merged
From: Mahara Bot, 2016-08-10
-
[Bug 1595364] Re: Unable to remove first auth method via institution edit
From: Kristina Hoeppner, 2016-06-27
-
[Bug 1595364] A patch has been submitted for review
From: Mahara Bot, 2016-06-23