mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
5be5e3271d
This I think gets us closer, but still not handling the validation on the asset properly. When I do a print_r of the validation in the other items, its looking for an error bag that looks something like this: ``` Illuminate\Support\MessageBag Object ( [messages:protected] => Array ( [name] => Array ( [0] => The name field is required. ) [seats] => Array ( [0] => The seats field is required. ) [category_id] => Array ( [0] => The category id field is required. ) ) [format:protected] => :message ) ``` Currently the Assets ajax returns: ``` [2019-05-24 06:52:06] develop.ERROR: array ( 'messages' => array ( 'model_id' => array ( 0 => 'The model id field is required.', ), 'status_id' => array ( 0 => 'The status id field is required.', ), 'asset_tag' => array ( 0 => 'The asset tag field is required.', ), ), ) ``` So not sure why it’s not working. |
||
---|---|---|
.. | ||
AssetCheckinRequest.php | ||
AssetCheckoutRequest.php | ||
AssetFileRequest.php | ||
AssetRequest.php | ||
CustomFieldRequest.php | ||
ImageUploadRequest.php | ||
ItemImportRequest.php | ||
Request.php | ||
SaveUserRequest.php | ||
SettingsLdapRequest.php | ||
SetupUserRequest.php |