snipe-it/app
Daniel Meltzer a5764351f7 Migrate weird assigned_type issues, Issue #3972 (#3973)
For a while, prior to 987536930, we did not null assigned_type on
checkin.  This migration manually nulls all assigned_type fields if
assigned_to is unset.  Add a test to AssetTest for this as well...kind
of.  We need to extract an Asset::checkin() method for 4.1 that mirrors
Asset::checkOut() to really test this.

This also fixes a separate (but related) issue.  The Asset importer did
not set assigned_type when importing and creating users.  In this
instance, we assume that if assigned_to is set and assigned_type is not,
then the item was checked out to a user and update the DB accordingly.
Also add a check in ImporterTest for this issue.
2017-09-18 16:40:13 -07:00
..
Console Possible fix for #3919 - allow later versions of mcrypted base64 keys 2017-09-14 16:43:41 -07:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Progress towards better email notifications (#3911) 2017-08-31 11:14:21 -07:00
Helpers Make sure payload is always passed, even if null 2017-08-25 03:27:31 -07:00
Http Custom field import repair (#3968) 2017-09-18 12:29:08 -07:00
Importer Migrate weird assigned_type issues, Issue #3972 (#3973) 2017-09-18 16:40:13 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LegacyEncrypter First stab at a recrypter for legacy mcrypt conversion 2017-08-21 22:30:56 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models Migrate weird assigned_type issues, Issue #3972 (#3973) 2017-09-18 16:40:13 -07:00
Notifications Use notifiables for slack audit notification 2017-08-31 21:30:38 -07:00
Observers Fixes #1190 - added basic audit workflow 2017-08-25 10:04:19 -07:00
Policies Fixed path in comments 2017-01-11 14:50:13 -08:00
Presenters Fix asset create (#3929) 2017-09-06 16:24:43 -07:00
Providers Fixes for API calls for password complexity stuff 2017-08-22 21:15:35 -07:00