{"action":"created","issue":{"url":"https://api.github.com/repos/acquia/blt/issues/3175","repository_url":"https://api.github.com/repos/acquia/blt","labels_url":"https://api.github.com/repos/acquia/blt/issues/3175/labels{/name}","comments_url":"https://api.github.com/repos/acquia/blt/issues/3175/comments","events_url":"https://api.github.com/repos/acquia/blt/issues/3175/events","html_url":"https://github.com/acquia/blt/issues/3175","id":370554878,"node_id":"MDU6SXNzdWUzNzA1NTQ4Nzg=","number":3175,"title":"Failed to BLT setup -n / blt drupal:config:import","user":{"login":"Mango-Design","id":2597394,"node_id":"MDQ6VXNlcjI1OTczOTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2597394?v=4","gravatar_id":"","url":"https://api.github.com/users/Mango-Design","html_url":"https://github.com/Mango-Design","followers_url":"https://api.github.com/users/Mango-Design/followers","following_url":"https://api.github.com/users/Mango-Design/following{/other_user}","gists_url":"https://api.github.com/users/Mango-Design/gists{/gist_id}","starred_url":"https://api.github.com/users/Mango-Design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mango-Design/subscriptions","organizations_url":"https://api.github.com/users/Mango-Design/orgs","repos_url":"https://api.github.com/users/Mango-Design/repos","events_url":"https://api.github.com/users/Mango-Design/events{/privacy}","received_events_url":"https://api.github.com/users/Mango-Design/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-16T10:57:53Z","updated_at":"2018-10-16T16:52:35Z","closed_at":null,"author_association":"NONE","body":"My system information:\r\n* Operating system type:  OSX\r\n* Operating system version: 10.13\r\n* BLT version: 9.1 / 9.2\r\n\r\nOutput of `blt doctor`:\r\n```\r\n+---------------------------+--------------------------------------------------------------+\r\n| Property                  | Value                                                        |\r\n+---------------------------+--------------------------------------------------------------+\r\n| %paths.%root              | /var/www/pmidce/docroot                                      |\r\n| %paths.%site              | sites/default                                                |\r\n| %paths.%modules           | sites/all/modules                                            |\r\n| %paths.%themes            | sites/default/themes                                         |\r\n| %paths.%config-sync       | /var/www/pmidce/config/default                               |\r\n| %paths.%files             | sites/default/files                                          |\r\n| %paths.%temp              | /tmp                                                         |\r\n| %paths.%private           | /var/www/pmidce/files-private                                |\r\n| admin-theme               | seven                                                        |\r\n| alias-searchpaths.0       | /var/www/pmidce/drush/sites                                  |\r\n| blt-version               | 9.2.0                                                        |\r\n| bootstrap                 | Successful                                                   |\r\n| composer-version          | Composer version 1.7.2 2018-08-16 16:57:12                   |\r\n| config-sync               | /var/www/pmidce/config/default                               |\r\n| db-driver                 | mysql                                                        |\r\n| db-hostname               | localhost                                                    |\r\n| db-name                   | drupal                                                       |\r\n| db-password               | drupal                                                       |\r\n| db-port                   | 3306                                                         |\r\n| db-status                 | Connected                                                    |\r\n| db-username               | drupal                                                       |\r\n| drupal-settings-file      | sites/default/settings.php                                   |\r\n| drupal-version            | 8.6.1                                                        |\r\n| drush-alias-files.0       | /var/www/pmidce/drush/sites/01dev.site.yml                   |\r\n| drush-alias-files.1       | /var/www/pmidce/drush/sites/01devup.site.yml                 |\r\n| drush-alias-files.2       | /var/www/pmidce/drush/sites/01live.site.yml                  |\r\n| drush-alias-files.3       | /var/www/pmidce/drush/sites/01test.site.yml                  |\r\n| drush-alias-files.4       | /var/www/pmidce/drush/sites/01testup.site.yml                |\r\n| drush-alias-files.5       | /var/www/pmidce/drush/sites/01update.site.yml                |\r\n| drush-alias-files.6       | /var/www/pmidce/drush/sites/pmiapiqos02.site.yml             |\r\n| drush-alias-files.7       | /var/www/pmidce/drush/sites/pmidce.site.yml                  |\r\n| drush-alias-files.8       | /var/www/pmidce/drush/sites/pmieuiqos02-dcecz03.site.yml     |\r\n| drush-alias-files.9       | /var/www/pmidce/drush/sites/pmieuiqos02-dcemaster01.site.yml |\r\n| drush-alias-files.10      | /var/www/pmidce/drush/sites/pmieuiqos02-dcepl02.site.yml     |\r\n| drush-alias-files.11      | /var/www/pmidce/drush/sites/pmieuiqos02-dcesk02.site.yml     |\r\n| drush-alias-files.12      | /var/www/pmidce/drush/sites/pmieuiqos02.site.yml             |\r\n| drush-alias-files.13      | /var/www/pmidce/drush/sites/pmilaciqos02.site.yml            |\r\n| drush-alias-files.14      | /var/www/pmidce/drush/sites/self.site.yml                    |\r\n| drush-cache-directory     | /home/vagrant/.drush/cache                                   |\r\n| drush-conf.0              | /var/www/pmidce/vendor/drush/drush/drush.yml                 |\r\n| drush-conf.1              | /var/www/pmidce/drush/drush.yml                              |\r\n| drush-script              | /var/www/pmidce/vendor/bin/drush                             |\r\n| drush-temp                | /tmp                                                         |\r\n| drush-version             | 9.5.1                                                        |\r\n| files                     | sites/default/files                                          |\r\n| install-profile           | pmidce                                                       |\r\n| modules                   | sites/all/modules                                            |\r\n| php-bin                   | /usr/bin/php7.1                                              |\r\n| php-conf.0                | /etc/php/7.1/cli/php.ini                                     |\r\n| php-os                    | Linux                                                        |\r\n| private                   | /var/www/pmidce/files-private                                |\r\n| root                      | /var/www/pmidce/docroot                                      |\r\n| site                      | sites/default                                                |\r\n| stacks.drupal-vm.inited   | true                                                         |\r\n| stacks.dev-desktop.inited | false                                                        |\r\n| temp                      | /tmp                                                         |\r\n| theme                     | stark                                                        |\r\n| themes                    | sites/default/themes                                         |\r\n| uri                       | default                                                      |\r\n+---------------------------+--------------------------------------------------------------+\r\n[error]  You cannot define a mapping item when in a sequence at line 8 (near \"vagrant_memory: 2048\")\r\n```\r\n\r\nWhen I run this command:\r\n```\r\nblt setup -n\r\n```\r\n\r\nI get the following output:\r\n```\r\nError: Call to a member function getSchema() on null in /var/www/pmidce/docroot/core/modules/views/src/EntityViewsData.php on line 383 #0 /var/www/pmidce/docroot/core/modules/views/src/EntityViewsData.php(283): Drupal\\views\\EntityViewsData->mapFieldDefinition('block_content_f...', 'content_transla...', Object(Drupal\\Core\\Field\\BaseFieldDefinition), Object(Drupal\\Core\\Entity\\Sql\\DefaultTableMapping), Array)\r\n#1 /var/www/pmidce/docroot/core/modules/block_content/src/BlockContentViewsData.php(17): Drupal\\views\\EntityViewsData->getViewsData()\r\n#2 /var/www/pmidce/docroot/core/modules/views/views.views.inc(170): Drupal\\block_content\\BlockContentViewsData->getViewsData()\r\n#3 [internal function]: views_views_data()\r\n#4 /var/www/pmidce/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(392): call_user_func_array('views_views_dat...', Array)\r\n#5 /var/www/pmidce/docroot/core/modules/views/src/ViewsData.php(243): Drupal\\Core\\Extension\\ModuleHandler->invoke('views', 'views_data')\r\n#6 /var/www/pmidce/docroot/core/modules/views/src/ViewsData.php(160): Drupal\\views\\ViewsData->getData()\r\n#7 /var/www/pmidce/docroot/core/modules/datetime_range/datetime_range.module(58): Drupal\\views\\ViewsData->get('block_content_f...')\r\n#8 [internal function]: datetime_range_view_presave(Object(Drupal\\views\\Entity\\View))\r\n#9 /var/www/pmidce/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('datetime_range_...', Array)\r\n#10 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(347): Drupal\\Core\\Extension\\ModuleHandler->invokeAll('view_presave', Array)\r\n#11 /var/www/pmidce/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(472): Drupal\\Core\\Config\\Entity\\ConfigEntityStorage->invokeHook('presave', Object(Drupal\\views\\Entity\\View))\r\n#12 /var/www/pmidce/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(426): Drupal\\Core\\Entity\\EntityStorageBase->doPreSave(Object(Drupal\\views\\Entity\\View))\r\n#13 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(263): Drupal\\Core\\Entity\\EntityStorageBase->save(Object(Drupal\\views\\Entity\\View))\r\n#14 /var/www/pmidce/docroot/core/lib/Drupal/Core/Entity/Entity.php(390): Drupal\\Core\\Config\\Entity\\ConfigEntityStorage->save(Object(Drupal\\views\\Entity\\View))\r\n#15 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(632): Drupal\\Core\\Entity\\Entity->save()\r\n#16 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(364): Drupal\\Core\\Config\\Entity\\ConfigEntityBase->save()\r\n#17 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php(979): Drupal\\Core\\Config\\Entity\\ConfigEntityStorage->importCreate('views.view.bloc...', Object(Drupal\\Core\\Config\\Config), Object(Drupal\\Core\\Config\\Config))\r\n#18 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php(765): Drupal\\Core\\Config\\ConfigImporter->importInvokeOwner('', 'create', 'views.view.bloc...')\r\n#19 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php(592): Drupal\\Core\\Config\\ConfigImporter->processConfiguration('', 'create', 'views.view.bloc...')\r\n#20 /var/www/pmidce/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php(496): Drupal\\Core\\Config\\ConfigImporter->processConfigurations(Array)\r\n#21 /var/www/pmidce/vendor/drush/drush/src/Drupal/Commands/config/ConfigImportCommands.php(237): Drupal\\Core\\Config\\ConfigImporter->doSyncStep('processConfigur...', Array)\r\n#22 /var/www/pmidce/vendor/drush/drush/includes/drush.inc(232): Drush\\Drupal\\Commands\\config\\ConfigImportCommands->doImport(Object(Drupal\\Core\\Config\\StorageComparer))\r\n#23 /var/www/pmidce/vendor/drush/drush/includes/drush.inc(223): drush_call_user_func_array(Array, Array)\r\n#24 /var/www/pmidce/vendor/drush/drush/src/Drupal/Commands/config/ConfigImportCommands.php(208): drush_op(Array, Object(Drupal\\Core\\Config\\StorageComparer))\r\n#25 [internal function]: Drush\\Drupal\\Commands\\config\\ConfigImportCommands->import('sync', Array)\r\n#26 /var/www/pmidce/vendor/consolidation/annotated-command/src/CommandProcessor.php(235): call_user_func_array(Array, Array)\r\n#27 /var/www/pmidce/vendor/consolidation/annotated-command/src/CommandProcessor.php(181): Consolidation\\AnnotatedCommand\\CommandProcessor->runCommandCallback(Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\r\n#28 /var/www/pmidce/vendor/consolidation/annotated-command/src/CommandProcessor.php(150): Consolidation\\AnnotatedCommand\\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\r\n#29 /var/www/pmidce/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(404): Consolidation\\AnnotatedCommand\\CommandProcessor->process(Object(Symfony\\Component\\Console\\Output\\ConsoleOutput), Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\r\n#30 /var/www/pmidce/vendor/symfony/console/Command/Command.php(255): Consolidation\\AnnotatedCommand\\AnnotatedCommand->execute(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#31 /var/www/pmidce/vendor/symfony/console/Application.php(964): Symfony\\Component\\Console\\Command\\Command->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#32 /var/www/pmidce/vendor/symfony/console/Application.php(248): Symfony\\Component\\Console\\Application->doRunCommand(Object(Consolidation\\AnnotatedCommand\\AnnotatedCommand), Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#33 /var/www/pmidce/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#34 /var/www/pmidce/vendor/drush/drush/src/Runtime/Runtime.php(112): Symfony\\Component\\Console\\Application->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#35 /var/www/pmidce/vendor/drush/drush/src/Runtime/Runtime.php(41): Drush\\Runtime\\Runtime->doRun(Array)\r\n#36 /var/www/pmidce/vendor/drush/drush/drush.php(66): Drush\\Runtime\\Runtime->run(Array)\r\n#37 /var/www/pmidce/vendor/drush/drush/drush(4): require('/var/www/pmidce...')\r\n#38 {main}\r\nError: Call to a member function getSchema() on null in Drupal\\views\\EntityViewsData->mapFieldDefinition() (line 383 of /var/www/pmidce/docroot/core/modules/views/src/EntityViewsData.php).\r\n [error]  Drush command terminated abnormally due to an unrecoverable error. \r\n[Acquia\\Blt\\Robo\\Tasks\\DrushTask]  Exit code 1  Time 31:08\r\n[error]  Failed to import configuration! \r\n[error]  Command `drupal:config:import ` exited with code 1. \r\n[error]  Command `drupal:install ` exited with code 1. \r\n```\r\n\r\nAnd I expected this to happen:\r\nBlt setup to correctly complete.\r\nThis has been tested with 100% working config set.\r\nblt drupal:config:import shows same issue.\r\n"},"comment":{"url":"https://api.github.com/repos/acquia/blt/issues/comments/430313100","html_url":"https://github.com/acquia/blt/issues/3175#issuecomment-430313100","issue_url":"https://api.github.com/repos/acquia/blt/issues/3175","id":430313100,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDMxMzEwMA==","user":{"login":"Mango-Design","id":2597394,"node_id":"MDQ6VXNlcjI1OTczOTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2597394?v=4","gravatar_id":"","url":"https://api.github.com/users/Mango-Design","html_url":"https://github.com/Mango-Design","followers_url":"https://api.github.com/users/Mango-Design/followers","following_url":"https://api.github.com/users/Mango-Design/following{/other_user}","gists_url":"https://api.github.com/users/Mango-Design/gists{/gist_id}","starred_url":"https://api.github.com/users/Mango-Design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mango-Design/subscriptions","organizations_url":"https://api.github.com/users/Mango-Design/orgs","repos_url":"https://api.github.com/users/Mango-Design/repos","events_url":"https://api.github.com/users/Mango-Design/events{/privacy}","received_events_url":"https://api.github.com/users/Mango-Design/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T16:52:35Z","updated_at":"2018-10-16T16:52:35Z","author_association":"NONE","body":"We tried your approach with no luck. Also we updated the config after the update. "}}
{"actor":{"display_login":"Mango-Design"}}