mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #06118
[Bug 841723] Re: Use microtime instead of float for user deletion
** Changed in: mahara
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/841723
Title:
Use microtime instead of float for user deletion
Status in Mahara ePortfolio:
Fix Committed
Bug description:
For unit testing, or scripted user management for that matter, there may be the need to create and remove the same user multiple times over a short period. The current deletion method is to alter the username and e-mail address to suffix deleted.time()
Time isn't precise enough and you end up with collisions.
Changing to use microtime fixes these issues and allows for unit tests
to be run
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/841723/+subscriptions
References