I am creating a view as part of a multistep workflow process. I have a page setup on the view where I am filtering by the workflow state. This page is restricted to members of a specific group that are supposed to review the submissions when they are at one of three different states.
When I attempt to save the page with the filter criteria: Webform submission: Workflow state filter (webform: Request for Scout Assistance, workflow element: workflow)
I get the error:
The website encountered an unexpected error. Try again later.
When I look in the log, I see the following:
Message
InvalidArgumentException: The configuration property display.page_2.display_options.filters.workflow_state.value.initial_submission doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 98 of /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/Schema/ArrayElement.php).
Backtrace
#0 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(224): Drupal\Core\Config\Schema\ArrayElement->get()
#1 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#2 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#3 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#4 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#5 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#6 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#7 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/StorableConfigBase.php(259): Drupal\Core\Config\StorableConfigBase->castValue()
#8 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/Config.php(211): Drupal\Core\Config\StorableConfigBase->castValue()
#9 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(260): Drupal\Core\Config\Config->save()
#10 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Entity/EntityStorageBase.php(487): Drupal\Core\Config\Entity\ConfigEntityStorage->doSave()
#11 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(239): Drupal\Core\Entity\EntityStorageBase->save()
#12 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Entity/EntityBase.php(370): Drupal\Core\Config\Entity\ConfigEntityStorage->save()
#13 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(618): Drupal\Core\Entity\EntityBase->save()
#14 /home/b28r1iiij2ob/public_html/core/modules/views_ui/src/ViewUI.php(1017): Drupal\Core\Config\Entity\ConfigEntityBase->save()
#15 /home/b28r1iiij2ob/public_html/core/modules/views_ui/src/ViewEditForm.php(362): Drupal\views_ui\ViewUI->save()
#16 [internal function]: Drupal\views_ui\ViewEditForm->save()
#17 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Form/FormSubmitter.php(105): call_user_func_array()
#18 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Form/FormSubmitter.php(43): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers()
#19 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(589): Drupal\Core\Form\FormSubmitter->doSubmitForm()
#20 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(321): Drupal\Core\Form\FormBuilder->processForm()
#21 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm()
#22 /home/b28r1iiij2ob/public_html/core/modules/views_ui/src/Controller/ViewsUIController.php(220): Drupal\Core\Entity\EntityFormBuilder->getForm()
#23 [internal function]: Drupal\views_ui\Controller\ViewsUIController->edit()
#24 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#25 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#26 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#27 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#28 /home/b28r1iiij2ob/public_html/vendor/symfony/http-kernel/HttpKernel.php(183): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#29 /home/b28r1iiij2ob/public_html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#30 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#31 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#32 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#33 /home/b28r1iiij2ob/public_html/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#34 /home/b28r1iiij2ob/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#35 /home/b28r1iiij2ob/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
#36 /home/b28r1iiij2ob/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#37 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#38 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#39 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(53): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#40 /home/b28r1iiij2ob/public_html/modules/contrib/remove_http_headers/src/StackMiddleware/RemoveHttpHeadersMiddleware.php(49): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#41 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle()
#42 /home/b28r1iiij2ob/public_html/core/lib/Drupal/Core/DrupalKernel.php(715): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#43 /home/b28r1iiij2ob/public_html/index.php(19): Drupal\Core\DrupalKernel->handle()
#44 {main}
I am using Drupal 11.2.5, webform 6.3.0-beta5, and Webform Workflows Element 2.0.0
Create a new view
Show webform submission of type webform name sorted by unsorted
Check create a page
Display format table
Items to display 50
Click Save & edit
Add the following fields to the view
Webform submission:submission id
Webform Request for webform name:Workflow name workflow: Previous workflow state
Webform Request for webform name:Workflow name workflow: Time last changed
Webform Request for webform name:Workflow name workflow: User who changed
Webform Request for webform name:Workflow name workflow: Workflow state
All values that have been submitted should appear in the preview. Save the workflow.
Add filter criteria
Webform submission:Workflow state filter
Select the webform associated with the view and then click apply
Click on the line that was created in the filter criteria section, select one or more workflow states, and then click apply
Click on Save
The website will report it encountered an unexpected error and the details will be written to the log.
Active
2.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.