Open indigoxela opened 3 weeks ago
Confirmed. One would expect the same behavior as for other admin paths with inexistent last path parts - reverting to the last available path if a path is not found (e.g. admin/structure/views/nothing/nothing2
reverts to admin/structure/views
). Now, the reported error only happens if you manually type the path - so it's unlikely to be encountered in normal UI operation. Still, it'd be good to fix it.
Now, the reported error only happens if you manually type the path - so it's unlikely to be encountered in normal UI operation.
Define "normal" :stuck_out_tongue_winking_eye: (A customer ran into that by accident...)
Still, it'd be good to fix it.
I think so, too, yes. A little PHP notice wouldn't be worth it, I guess. But a fatal error should really get fixed.
Description of the bug
We have paths for the layout edit form like for example
admin/structure/layouts/manage/home
But if one calls a path like
admin/structure/layouts/manage/home/foo
oradmin/structure/layouts/manage/home/foo/bar/baz
one ends up with:If error display's on, also:
Steps To Reproduce
Simply attach something to the URL of a valid Layout form path. Works with every layout.
Actual behavior
Fatal php error
Expected behavior
Just the form, or a 404 page... for sure not a fatal error. :wink:
Additional information