Skip to content
Snippets Groups Projects

Issue #2707689: NodeForm::actions() checks for delete access on new entities

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • 83e1686b
    Issue #3013802 by andregp, yogeshmpawar, gaurav.kapoor, nikitas, Charlie ChX... · 83e1686b
    Alex Pott authored
    Issue #3013802 by andregp, yogeshmpawar, gaurav.kapoor, nikitas, Charlie ChX Negyesi, SourabhBhalerao, alexpott, joachim: Improve error message on unrouted URLs
@@ -564,7 +564,7 @@ public function isRouted() {
*/
public function getRouteName() {
if ($this->unrouted) {
throw new \UnexpectedValueException('External URLs do not have an internal route name.');
throw new \UnexpectedValueException($this->getUri() . ' has no corresponding route.');
}
return $this->routeName;
Loading