← Back to team overview

mahara-contributors team mailing list archive

[Bug 1223810] [NEW] Multiple institutions breaks institution move

 

Public bug reported:

Bug found in 1.6

Where there are multiple institutions and membership of multiple
institutions are permitted the bulk move of users from one institution
to another is broken.

The bulk move refuses to consider users who are in more than one
institution. See code in htdocs/admin/users/bulk.php for the function
changeauth_validate(). The validation simply fails if there is more than
one institution record for the user.

So, if I select all users in an institution and them attempt to move
them to a different institution and there are ANY users in multiple
institutions in the list the move will fail for all users.

Worse - I can't think of any obvious workaround.

What I want is for *just* the institution that I selected to be moved to
the alternate institution. There would also need to be a check that this
didn't result in a duplicate if they were in that institution already.

** Affects: mahara
     Importance: Undecided
         Status: New

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

Title:
  Multiple institutions breaks institution move

Status in Mahara ePortfolio:
  New

Bug description:
  Bug found in 1.6

  Where there are multiple institutions and membership of multiple
  institutions are permitted the bulk move of users from one institution
  to another is broken.

  The bulk move refuses to consider users who are in more than one
  institution. See code in htdocs/admin/users/bulk.php for the function
  changeauth_validate(). The validation simply fails if there is more
  than one institution record for the user.

  So, if I select all users in an institution and them attempt to move
  them to a different institution and there are ANY users in multiple
  institutions in the list the move will fail for all users.

  Worse - I can't think of any obvious workaround.

  What I want is for *just* the institution that I selected to be moved
  to the alternate institution. There would also need to be a check that
  this didn't result in a duplicate if they were in that institution
  already.

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


Follow ups

References