It looks like there is no route for the view of the queue. The view in the optional config folder has been imported.

<em class="placeholder">Symfony\Component\Routing\Exception\RouteNotFoundException</em>: Route &quot;view.queue_jobs.page_1&quot; does not exist. in <em class="placeholder">Drupal\Core\Routing\RouteProvider-&gt;getRouteByName()</em> (line <em class="placeholder">190</em> of <em class="placeholder">core/lib/Drupal/Core/Routing/RouteProvider.php</em>). <pre class="backtrace">Drupal\Core\Routing\UrlGenerator-&gt;getRoute(&#039;view.queue_jobs.page_1&#039;) (Line: 271)
Drupal\Core\Routing\UrlGenerator-&gt;generateFromRoute(&#039;view.queue_jobs.page_1&#039;, Array, Array, 1) (Line: 105)
Drupal\Core\Render\MetadataBubblingUrlGenerator-&gt;generateFromRoute(&#039;view.queue_jobs.page_1&#039;, Array, Array, 1) (Line: 753)
Drupal\Core\Url-&gt;toString(1) (Line: 167)
Drupal\Core\Utility\LinkGenerator-&gt;generate(Object, Object) (Line: 94)
Drupal\Core\Render\Element\Link::preRenderLink(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer-&gt;doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer-&gt;render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension-&gt;escapeFilter(Object, Array, &#039;html&#039;, NULL, 1) (Line: 81)
__TwigTemplate_ece02f0c3df7b0086cd0ca8465f38308d76b527e9ac8a6b1025d4d084d54ae92-&gt;doDisplay(Array, Array) (Line: 432)
Twig_Template-&gt;displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template-&gt;display(Array) (Line: 411)
Twig_Template-&gt;render(Array) (Line: 64)
twig_render_template(&#039;core/themes/classy/templates/navigation/links.html.twig&#039;, Array) (Line: 384)
Drupal\Core\Theme\ThemeManager-&gt;render(&#039;links&#039;, Array) (Line: 437)
Drupal\Core\Render\Renderer-&gt;doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer-&gt;render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension-&gt;escapeFilter(Object, Array, &#039;html&#039;, NULL, 1) (Line: 183)
__TwigTemplate_98cf6ee9c325be56e5f6e2b50b209532e42534eaeb86ca76b1fbc0eee1a03602-&gt;doDisplay(Array, Array) (Line: 432)
Twig_Template-&gt;displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template-&gt;display(Array) (Line: 411)
Twig_Template-&gt;render(Array) (Line: 64)
twig_render_template(&#039;core/themes/classy/templates/dataset/table.html.twig&#039;, Array) (Line: 384)
Drupal\Core\Theme\ThemeManager-&gt;render(&#039;table&#039;, Array) (Line: 437)
Drupal\Core\Render\Renderer-&gt;doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer-&gt;doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer-&gt;render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;Drupal\Core\Render\MainContent\{closure}() (Line: 576)
Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber-&gt;onViewRenderArray(Object, &#039;kernel.view&#039;, Object) (Line: 108)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher-&gt;dispatch(&#039;kernel.view&#039;, Object) (Line: 158)
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache-&gt;pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache-&gt;handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 657)
Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)
</pre>
CommentFileSizeAuthor
#6 2923175-6.patch1.31 KBnikathone
#2 2923175.patch528 byteseiriksm

Comments

Anonymous’s picture

Almare created an issue. See original summary.

eiriksm’s picture

Status: Active » Needs review
StatusFileSize
new528 bytes

Also ran into this

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Thank you for your patch. It works now.

  • bojanz committed 4686a66 on 8.x-1.x authored by eiriksm
    Issue #2923175 by eiriksm, Almare: Route not found view.queue_jobs....
bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Last minute renames, never a good idea :)

Thanks!

nikathone’s picture

StatusFileSize
new1.31 KB

Not sure if I should create another issue but \Drupal\advancedqueue\Form\DeleteJob and \Drupal\advancedqueue\Form\ReleaseJob are also affected. Here is the small patch.

nikathone’s picture

Status: Fixed » Needs review

Putting this one back for need review.

joachim’s picture

Title: Route not found view.queue_jobs.page_1 » Route not found view.queue_jobs.page_1 - crash when trying to delete a job
Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

Patch fixes the crash for me. Thanks!

bojanz’s picture

I am officially embarrassed :(

nikathone’s picture

Well you shouldn't be. I guess you have so many stuff to review and code. A last minute renames would definitely let this kind of thing slip.

Great work again for this module super easy to work with.

  • bojanz committed aaf5780 on 8.x-1.x authored by nikathone
    Issue #2923175 by nikathone, eiriksm, Almare, bojanz: Route not found...
bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Let's start by committing this, then adding tests in another issue. Thank you!

Status: Fixed » Closed (fixed)

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