Needs review
Project:
Node Subpages
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2012 at 19:44 UTC
Updated:
6 Jun 2013 at 11:28 UTC
Add a new subpage for a content type. Visit a node of that type, and go to that new subpage on that node. The subpage will be available, but the aliased path will not.
How to replicate:
about.info.about and click on the Info tab to visit that subpage.node/{nid}/info when it should be about/info. The aliased path is not created.I'm not sure yet how to address this. When creating or editing a subpage on a content type, the module needs to create path aliases for all existing nodes of that type. But, since there could be thousands of nodes to update, it won't make sense to try to do them all when saving the subpage.
The same problem will exist when deleting a subapge: the existing path aliases for that subpage will remain in the DB.
Comments
Comment #1
JeremyM-1 commentedAlso experiencing this - is there any update on this issue?
Comment #2
BrockBoland commentedNo, I haven't had any time to work on this. I'm open to ideas and patches though.
Comment #3
JeremyM-1 commentedWhat about manually doing a bulk update after creating a subpage, similar to bulk update on URL aliases config section?
Comment #4
BrockBoland commentedNow there's an idea. I didn't even know this was an option before today: admin/config/search/path/update_bulk
Comment #5
jeremymcminn commentedNot sure if this is part of an issue, but when I create a new node, the url aliases of subpages are node/345/subpage instead of the alias I define - it is only if I actually go into edit the node and save that they update. This is different to the issue of adding a subpage and previous aliases dont update.
Comment #6
BrockBoland commented@jeremymcminn: It should create those on node creation. That might be a different issue.
Comment #7
jeremymcminn commentedYes, thats what I thought - Im sure it was doing that originally - Do you know how I could troubleshoot that?
Comment #8
BrockBoland commented@jeremymcminn Could you open a new issue about that? Please provide as much detail as you can, especially in regards to path configuration and things like that.
Comment #9
BrockBoland commentedNevermind: I started looking into that and opened #1654982: Path alias not created for new nodes
Comment #10
Bitvark commentedInstalling Extended path aliases module (http://drupal.org/project/path_alias_xt) solved it for me.
Any feedback?
Comment #11
ThaJoa commentedTried the extend path alias module but that one broke the subpage path for me.
Comment #12
Bitvark commentedUsing a View as the content for the subpage, with:
Node sub pages 7.x-2.0-beta2
Extended path aliases 7.x-1.0
Pathauto 7.x.1.2
on Drupal 7.18.
You have to delete aliases and bulk update them, I think.
If it doesn't work again, we need more details to help you
Comment #13
ThaJoa commentedThe problem seemed to be in the latest dev version of Extended path alias (7.x-1.0-alpha+2-dev) that I was using.
Downgrading it to 7.x-1.0 solved the problem.
Comment #14
Bitvark commentedProblem detected and solution (although external) provided, set status on need review.