Great module. The Content structure is awesome and very much like any Group Content plugins added to Groups.
Though I am encountering errors on menu add screens to groups and then adding links to menus if the menus are created automatically with a new group. So URLs like these are not working group/1/menu/add or when adding links to a menu (if it has been created with a group) group/4/menu/1/add-link. The error is as follows
InvalidArgumentException: The controller for URI "/group/1/menu/add" is not callable. in Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition() (line 75 of core/lib/Drupal/Core/Controller/ControllerResolver.php).
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3130387-9.patch | 18.24 KB | heddn |
Comments
Comment #2
heddnFeel free to extend on the test cases that landed in #3130752: Add test coverage to cover this functionality. I can also manually reproduce this issue.
Comment #3
gbeezus commentedI was able to manually reproduce. I've attached a patch.
Comment #4
gbeezus commentedComment #5
heddnCan we get some additional test coverage on this? Even just adding a
$this->drupalGet('/group/1/menu/add');would probably trigger the error, no?Comment #6
heddnComment #7
eme commentedIt works indeed ! Adding new link is workable. Adding menu isn't. I'll post another issue.
For the test coverage, I thing that should be handled in another issue as well to get this fixed !
Comment #8
heddnFeatures/bug fixes should usually be added with test coverage to prove the problem is fixed or the new feature is functional.
Comment #9
heddnThis fixes the issue identified here, plus a few other cases. No interdiff.
Comment #12
heddnComment #13
heddnRe-titling
Comment #15
heddnComment #16
drupak commentedI am thankful to all of you. I can also confirm it works for me now.
Regards