← Back to team overview

mahara-contributors team mailing list archive

[Bug 1319634] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3517
Committed: http://gitorious.org/mahara/mahara/commit/0f7251b320329853b6281112ab1ea81db031c358
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    master

commit 0f7251b320329853b6281112ab1ea81db031c358
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Jul 28 16:50:03 2014 +1200

Checking to make sure artefact/block library still exist (Bug #1319634)

Sometimes views will have artefacts/block instances on them but the
plugin has been deleted. This should not stop a user being deleted.

To test:
Add a plugin to the site (eg openbadgesdisplayer block plugin, or cpds
artefact plugin) and install it.
Add a page and add a block to the page.
Delete the dir from the site for the plugin
Try to bulk delete the user

Change-Id: Ib23ad79d9f1ffa0bca56ad7ccb6083333527e64c
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  deleting users via bulk delete causes error

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.8 series:
  Confirmed
Status in Mahara 1.9 series:
  Confirmed

Bug description:
  The problem reported in this forum post:
  https://mahara.org/interaction/forum/topic.php?id=6312&offset=0&limit=10#post26718

  "When I try to delete users in bulk (50+ users) I get the message
  "site is unavailable" A non recoverable error occurred."

  It turned out to be a problem with users having artefacts for plugins
  that are not in the mahara codebase anymore.

  There needs to be some rules created around this problem, possibly
  something as simple as, if deleting a user and they have orphaned
  artefacts then delete them as the first step before going off to
  delete all the relevant things that get deleted for a user.

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


References