On Drupal 8.5.3 I got this error:

Notice: Undefined index: default in Drupal\views\Plugin\views\PluginBase->setOptionDefaults() (line 184 of core/modules/views/src/Plugin/views/PluginBase.php).
Drupal\views\Plugin\views\PluginBase->setOptionDefaults(Array, Array) (Line: 138)
Drupal\views\Plugin\views\PluginBase->init(Object, Object, Array) (Line: 102)
Drupal\views\Plugin\views\HandlerBase->init(Object, Object, Array) (Line: 118)
Drupal\views\Plugin\views\field\FieldPluginBase->init(Object, Object, Array) (Line: 895)
Drupal\views\Plugin\views\display\DisplayPluginBase->getHandlers('field') (Line: 1040)
Drupal\views\ViewExecutable->_initHandler('field', Array) (Line: 898)
Drupal\views\ViewExecutable->initHandlers() (Line: 2268)
Drupal\views\Plugin\views\display\DisplayPluginBase->preExecute() (Line: 1689)
Drupal\views\ViewExecutable->preExecute(Array) (Line: 1624)
Drupal\views\ViewExecutable->executeDisplay('page_1', Array) (Line: 170)
Drupal\tvi\Service\TaxonomyViewsIntegratorManager->getTaxonomyTermView(Object) (Line: 39)
Drupal\tvi\Controller\TaxonomyViewsIntegratorTermPageController->render(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 664)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce:
1) Install module.
2) Add current path field to view.
3) Use field settings:
- Alias relative URL (e.g. /pages/example-path)
- Remove existing query string on the current path

Comments

Andriy Khomych created an issue. See original summary.

andriy khomych’s picture

Issue summary: View changes
andriy khomych’s picture

Homotechsual’s picture

Assigned: Unassigned » Homotechsual
Status: Active » Fixed
Homotechsual’s picture

8.x-1.0-beta2 release is building now to fix this issue. Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.