Beta blocker: Notices routes / URL aliases
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3581575. --> Reported by: [tonypaulbarker](https://www.drupal.org/user/807484) Related to !26 !25 >>> <p>Election notices should have a nice path. Currently the format is along the lines of /node/id/notice/id</p> <p>On upgrading 2.x to 3.x and adding a notice, the following error occurs:</p> <p>The website encountered an unexpected error. Try again later.</p> <p>UnexpectedValueException: base:node/1/notices has no corresponding route. in Drupal\Core\Url-&gt;getRouteName() (line 567 of core/lib/Drupal/Core/Url.php).</p> <h2>Testing instructions for MR26</h2> <p>Election nodes, the notice overview and notice details should have nice generated aliases. </p> <p>Test variations of these sorts of case, save the node, check the paths: </p> <p>Add some notices to an election.<br> Rename the election node.<br> Rename some notice titles.<br> Delete some notices.</p> <p>Check logs for errors and issues.</p> <p>Check after upgrading 2.x to 3.x </p>
issue