User tests: Successful: Unsuccessful:
If a nestable view has a menu linked to some child items, then other items which not in children and havn't assigned to any menus will unable to create route.
Create a component (com_test) with new router rules and nesteable view, and add some items:
- Foo
- Bar
- Yoo
- Flower
- Japan
-Sakura
Assign a menu to Bar
, go to Bar page, all routes linked to Japan
and Sakura
will not work, only link to Bar
.
The route will be:
/bar
/bar/3-yoo
/bar
(Wrong URL)/bar
(Wrong URL)This PR fixed that if a view can not found parent menu, it will use an exists menu and add view alias after it.
Japan: /bar/5-japan
Sakura: /bar/5-japan/6-sakura
Actually, I think the real solution is fallback to /component/test/5-japan/6-sakura
not after /bar
, but I don't know how to do this. Router rules is too complex...
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Category | Libraries | ⇒ | Libraries Router / SEF |
@asika32764 @csthomas OK to close this PR?
Since there has a PR for this issue, I'll close this PR first.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-25 03:58:26 |
Closed_By | ⇒ | asika32764 |
@Hackwar