← Back to team overview

mahara-contributors team mailing list archive

[Bug 1364689] Re: Don't assume the user has any views when doing an export.

 

I generated some users for import from a CSV file, which went fine. I
then sought to use those same users to test the exporting of data.

No views etc had been created for the users when they were imported but
the queries as they stand don't allow for that possibility, causing the
script to die. This patch modifies the queries so they don't cause
errors if there are no views for the user being exported.

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

Title:
  Don't assume the user has any views when doing an export.

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.11 series:
  In Progress

Bug description:
  We should not assume the user has any views when doing an export. If
  they were imported from a CSV file, none will have been created for
  them initially.

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


References