Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom fields importing empty #8263

Closed
1 task
seekerOK opened this issue Jul 23, 2020 · 0 comments
Closed
1 task

Custom fields importing empty #8263

seekerOK opened this issue Jul 23, 2020 · 0 comments

Comments

@seekerOK
Copy link

Please confirm you have done the following before posting your bug report:

Describe the bug
I create a custom field (text) and added to the asset models. when i tried to import the custom field never get imported

To Reproduce
I create a custom field (text) and added to the asset model.
I download the asset import CSV from your page and add my assets just 1 to test , I add the custom field column exactly as I created.
when I upload the csv, I choose asset and all the columns get recognized , excepted the custom one which i have to select the right value to match .
when i process everything goes fine and the asset get imported but the custom field import blank.

I then tried in asset model to give a default value to the custom field
then delete the imported asset and re-imported again without the custom field column
the asset get imported and custom field column is blank

Expected behavior
the custom field value to get imported

Server (please complete the following information):

  • Snipe-IT Version 4.9.4
  • OS: [Ubuntu18.04]
  • Web Server: [Apache II]
  • PHP Version 7.2.32

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [chrome]
  • Version [84]

Error Messages

administrator@snipeit:/var/www/snipeit$ tail -f /var/www/snipeit/storage/logs/laravel.log
#97 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#98 /var/www/snipeit/vendor/barryvdh/laravel-cors/src/HandlePreflight.php(29): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#99 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Barryvdh\Cors\HandlePreflight->handle(Object(Illuminate\Http\Request), Object(Closure))
#100 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#101 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#102 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#103 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#104 /var/www/snipeit/public/index.php(58): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#105 {main}

Additional context

  • Is this a fresh install or an upgrade? fresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant