mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #66175
[Bug 1969720] Re: Leap2A import fails (profile fields)
** Changed in: mahara
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969720
Title:
Leap2A import fails (profile fields)
Status in Mahara:
Fix Released
Bug description:
When a new account is created with a previously exported file from the
same site (and also a different one), I get the following error
message:
[WAR] 37 (lib/errors.php:537) Data array supplied when object expected at /var/www/master-dev-prod-mahara/releases/20220420173606/artefact/internal/lib.php:450
Call stack (most recent first):
exception(object(MaharaException)) at Unknown:0
With an export of the 'student' account from the demo site
https://demo.mahara.org, I get a lot more warnings (see attached).
1. Log in as Admin
2. Add a new user via Leap2A file (or a combined export if you have a more recent site).
3. Fill in a username and password
4. Click “Create account” button
Results:
- Expected: A new account is crated and found in the 'People search'.
- Actual: Error from above and attached.
Issue: We are throwing an error when $data is not an object when
updating profile fields but the $data comes in as an Array when we
import a Leap2a file with profile field updates.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969720/+subscriptions
References