Problem/Motivation
This is the dependencies section in wxt_admin.info.yml:
dependencies:
- 'admin_toolbar:admin_toolbar'
- 'admin_toolbar_tools:admin_toolbar_tools'
- 'admin_toolbar_links_access_filter:admin_toolbar_links_access_filter'
All these modules are inside admin_toolbar, so it ought to be:
dependencies:
- 'admin_toolbar:admin_toolbar'
- 'admin_toolbar:admin_toolbar_tools'
- 'admin_toolbar:admin_toolbar_links_access_filter'
Proposed resolution
Update the dependencies.
Remaining tasks
Implement. Check if any other modules have this problem.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #3
nilesh.addweb commentedHi,
I have created a patch and resolved the dependency issue in other modules as well.
Comment #4
smulvih2@nilesh.addweb thanks for the patch! Please see related ticket; admin_toolbar_links_access_filter is deprecated and should be removed as a dependency. Can you please update your patch to remove admin_toolbar_links_access_filter? Thanks!
Comment #5
liam morlandI think this issue should only correct the dependencies. The other issue an take care of removing.
Comment #6
joseph.olstadThis dependency:
admin_toolbar_links_access_filter
Is deprecated and should be removed.
https://git.drupalcode.org/project/admin_toolbar/-/commit/b848f6fcfc9f3b...
Comment #7
joseph.olstadI'm going to push a patch in #3490685: wxt versions crashes on upgrades since admin_toolbar_links_access_filter is deprecated for Drupal 10.3+
Comment #9
liam morlandComment #10
liam morlandComment #11
smulvih2@liam thanks for the nudge, will include this in the next release of 6.1.x.
Comment #12
smulvih2The fix to the dependency name for
admin_toolbar:admin_toolbar_toolshas been pushed to 6.1.x.Comment #14
liam morlandI don't see a commit in the repo. Also, the merge request was fixing more than just
admin_toolbar.Comment #15
smulvih2Ok I only included the change to wxt_admin module since the ticket description only talks about this. Putting back to Needs Review and will look at including the MR which has changes across many sub-modules.
Comment #16
joseph.olstad@liam morland , I reviewed your diff /MR. The premise seems correct. However it could be simplified further:
For internal WxT modules, the most common/standard pattern is to just write:
Could be merged as-is, or could simplify as mentioned.
Comment #17
joseph.olstad@smulvih2 , would it might be possible that this dependency improvement could help with:
#3557188: 11.2.x upgrade
?
Seeing as core Drupal 11.2.x+ may be a bit more sensitive to this than Drupal 11.1.x and previous releases?
Comment #18
liam morland