Jump to:
| Project: | Category |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have earlier reported changes to containers breaking primary links if those links are containers themselves. Also reported category pathauto aliases not updating. The latest instance is not about aliases updating but breaking. As usual, screenshots are attached.
The strangest thing in all this is that category is well behaved as long as you define your structure *once* and let it alone. The moment you move things around and experiment, all hell breaks loose.
I am grateful for all the work done on category module, but a recurrent bug is one of changes to containers/categories breaking all kinds of things on the site- menus, aliases and so on. Category module is in serious need of a bug bounty.
| Attachment | Size |
|---|---|
| cat_pathautofail3.gif | 4.43 KB |
Comments
#1
The screenshot in the previous post shows a container in which I made a simple change of setting a distant parent for it and saving it. The url alias got destroyed immediately.
#2
I should have known better:(
I just now enabled the story type (I had forgotten, actually) for a container to which I had added about a dozen categories acting as nodes, with body text and all. When I posted a story, cat_pathauto failed to create the alias as per [categorypathfirst] and defaulted to just the title. As usual, adding the alias manually failed, as did deleting that category (which was being tagged by the post) and recreating it.
I now have to delete the whole container and all its categories and start from scratch. Category module is really touchy at the moment when any kind of an update to a container fields takes place, so take care to plan things well in advance.
#3
Well, I deleted the container and all its categories, recreated the whole stuff -this time taking care to specify the story node type right at the beginning- emptied the cache table, optimized the url alias table, ensure that category_pathauto had the correct placeholders and then tried posting a story node, tagging it with a category in the newly created container.
Nope. Category_pathauto still creates the alias only with the node title. I am at a complete loss now about how to proceed, short of creating a new site all over again.
#4
Fix committed to 4.7/HEAD for nodes with assigned categories getting aliases badly generated. If you're still experiencing problems, please continue discussion in the original thread.
#5
#6
Jaza, I am reopening this issue as the code fixes do not work. Please refer to comments #16 to 18 in the original thread:
http://drupal.org/node/70640#comment-115740