← Back to team overview

mahara-contributors team mailing list archive

[Bug 1969720] [NEW] Leap2A import fails

 

Public bug reported:

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.

** Affects: mahara
     Importance: High
         Status: Confirmed

** Attachment added: "Screenshot 2022-04-21 at 16-34-22 Add a person - Mahara.png"
   https://bugs.launchpad.net/bugs/1969720/+attachment/5581938/+files/Screenshot%202022-04-21%20at%2016-34-22%20Add%20a%20person%20-%20Mahara.png

** Description changed:

  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
+     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).
  
- 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.

-- 
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

Status in Mahara:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969720/+subscriptions



Follow ups