Whaen only module salesforce is enable /admin/config/salesforce/settings returns error (because module salesforce_push is not enabled)

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Symfony\Component\Routing\Exception\RouteNotFoundException</em>: Route &quot;salesforce_push.endpoint&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;salesforce_push.endpoint&#039;) (Line: 271)
2	
Drupal\Core\Routing\UrlGenerator-&gt;generateFromRoute(&#039;salesforce_push.endpoint&#039;, Array, Array, 1) (Line: 105)
3	
Drupal\Core\Render\MetadataBubblingUrlGenerator-&gt;generateFromRoute(&#039;salesforce_push.endpoint&#039;, Array, Array, ) (Line: 753)
4	
Drupal\Core\Url-&gt;toString() (Line: 148)
5	
Drupal\salesforce\Form\SettingsForm-&gt;buildForm(Array, Object)
6	
call_user_func_array(Array, Array) (Line: 514)
7	
Drupal\Core\Form\FormBuilder-&gt;retrieveForm(&#039;salesforce_settings&#039;, Object) (Line: 271)
8	
Drupal\Core\Form\FormBuilder-&gt;buildForm(&#039;salesforce_settings&#039;, Object) (Line: 74)
9	
Drupal\Core\Controller\FormController-&gt;getContentResult(Object, Object)
10	
call_user_func_array(Array, Array) (Line: 123)
11	
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 576)
12	
Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 124)
13	
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
14	
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}()
15	
call_user_func_array(Object, Array) (Line: 153)
16	
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 68)
17	
Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 67)
18	
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap-&gt;handle(Object, 1, 1) (Line: 57)
19	
Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 47)
20	
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 47)
21	
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 50)
22	
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 23)
23	
Stack\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 657)
24	
Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)
CommentFileSizeAuthor
#3 salesforce_2934455_settings_form.patch3.98 KBandreyks

Comments

andreyks created an issue. See original summary.

aaronbauman’s picture

Pretty sure this is fixed in latest dev, can you try updating?

andreyks’s picture

Assigned: andreyks » Unassigned
Status: Active » Needs review
StatusFileSize
new3.98 KB

This patch fixes error

Status: Needs review » Needs work

The last submitted patch, 3: salesforce_2934455_settings_form.patch, failed testing. View results

andreyks’s picture

@aaronbauman, yes it fixed in latest dev. I missed it. Hope it will be useful who cant switch to dev branch...

aaronbauman’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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