Activity log for bug #1487464

Date Who What changed Old value New value Message
2015-08-21 13:18:30 Kevin Rickis bug added bug
2015-08-21 13:23:07 Kevin Rickis description Mahara version: 15.04.1 Issue: When a user logs in via SAML and the configuration option is set to update the user's details then a new email artefact is created every time. I think I have traced the problem saml/lib.php line #234 calls set_profile_field($user->id, 'email', $email); lib/user.php lines #511-516 are a try{} in which $email = artefact_instance_from_type('email', $userid); is called. This fails with the message "This artefact type is not a 'singular' artefact type" and so a new email artefact is created. It will always fail because artefact/internal/lib.php lines #705-708 return false for is_singular() class ArtefactTypeEmail extends ArtefactTypeProfileField { public static function is_singular() { return false; } Mahara version: 15.04.1 Issue: When a user logs in via SAML and the configuration option is set to update the user's details then a new email artefact is created every time. I think I have traced the problem saml/lib.php line #234 calls set_profile_field($user->id, 'email', $email); lib/user.php lines #511-516 are a try{} in which $email = artefact_instance_from_type('email', $userid); is called. This fails with the message "This artefact type is not a 'singular' artefact type" and so a new email artefact is created. It will always fail because artefact/internal/lib.php lines #705-708 returns false for is_singular() class ArtefactTypeEmail extends ArtefactTypeProfileField {     public static function is_singular() {         return false;     }
2015-08-23 21:52:37 Robert Lyon mahara: assignee Robert Lyon (robertl-9)
2015-08-23 21:52:37 Robert Lyon mahara: milestone 15.10.0
2015-08-23 21:52:41 Robert Lyon mahara: importance Undecided High
2015-08-23 21:52:43 Robert Lyon mahara: status New In Progress
2015-09-11 03:59:36 Kristina Hoeppner mahara: status In Progress Fix Committed
2015-09-11 03:59:45 Kristina Hoeppner nominated for series mahara/1.9
2015-09-11 03:59:45 Kristina Hoeppner bug task added mahara/1.9
2015-09-11 03:59:45 Kristina Hoeppner nominated for series mahara/1.10
2015-09-11 03:59:45 Kristina Hoeppner bug task added mahara/1.10
2015-09-11 03:59:45 Kristina Hoeppner nominated for series mahara/15.04
2015-09-11 03:59:45 Kristina Hoeppner bug task added mahara/15.04
2015-09-11 03:59:50 Kristina Hoeppner mahara/1.10: status New Confirmed
2015-09-11 03:59:53 Kristina Hoeppner mahara/1.9: status New Confirmed
2015-09-11 03:59:54 Kristina Hoeppner mahara/15.04: status New Confirmed
2015-09-11 03:59:56 Kristina Hoeppner mahara/1.10: importance Undecided High
2015-09-11 03:59:58 Kristina Hoeppner mahara/1.9: importance Undecided High
2015-09-11 03:59:59 Kristina Hoeppner mahara/15.04: importance Undecided High
2015-09-11 04:00:02 Kristina Hoeppner mahara/1.10: milestone 15.04.4
2015-09-11 04:00:06 Kristina Hoeppner mahara/1.9: milestone 1.9.9
2015-09-11 04:00:09 Kristina Hoeppner mahara/1.10: milestone 15.04.4 1.10.7
2015-09-11 04:00:13 Kristina Hoeppner mahara/15.04: milestone 15.04.4
2015-10-02 01:38:49 Robert Lyon mahara/1.10: status Confirmed Fix Committed
2015-10-02 01:38:50 Robert Lyon mahara/1.9: status Confirmed Fix Committed
2015-10-02 01:38:53 Robert Lyon mahara/15.04: status Confirmed In Progress
2015-10-03 03:16:02 Robert Lyon mahara/15.04: status In Progress Fix Committed
2015-10-23 06:12:40 Aaron Wells nominated for series mahara/15.10
2015-10-23 06:12:40 Aaron Wells bug task added mahara/15.10
2015-10-23 06:12:40 Aaron Wells bug task added mahara/15.10
2015-10-27 04:35:13 Robert Lyon mahara/1.10: status Fix Committed Fix Released
2015-10-27 08:52:02 Robert Lyon mahara/15.04: status Fix Committed Fix Released
2015-10-27 18:46:39 Robert Lyon bug task deleted mahara/15.10
2015-10-27 18:46:45 Robert Lyon mahara: status Fix Committed Fix Released
2015-10-27 18:46:47 Robert Lyon mahara/1.9: status Fix Committed Fix Released