Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
HI
I've installed pathauto module and have it working fine with a custom entity type I created. However, when I try to apply a pathauto pattern to the event (or any) content type, no alias is created. I have tried bulk generate as well, it seems to find the content but it does not create an alias. Is there a better way to debug this? I swear I had this working before on an older open social install.
Comments
Comment #2
bairlangga CreditAttribution: bairlangga commentedHi all, i +1 this. Actually it works and generates proper URL alias for SOME nodes, but then failed on others. Quite strange.
Comment #3
ribelComment #4
kedramonHi guys, I just mage some investigation and looks like the issue is related to frontend bug.
form-element.html.twig template is overridden and some js related classes are removed, so if you click on Generate automatic URL alias it's became disabled and this option is not submitted with form.
Comment #5
peterpolman CreditAttribution: peterpolman at Open Social commented@kedramon Is this an issue in the socialbase or socialblue theme or an issue in one of the core themes? I'm currently having issues to reproduce this from a front-end perspective. I do see the problem tc33133 reports, but can't see why this should be a front-end issue...
This is what I discovered:
- Setting the pattern /event/[node:title] for event nodes succefull.
- Bulk generating the new aliasses for all existing conten succesfullt
- New content is referred to correctly in stream (referring to the new alias)
- Old content is maintaining it's old alias (node/*) which is a problem.
This all sounds very back-endy to me:P We don't officially support the pathauto module and probably have to do some custom development for it to integrate with the social profile. Changing the component to code and feature request for now.
Comment #6
peterpolman CreditAttribution: peterpolman at Open Social commentedComment #7
bramtenhove CreditAttribution: bramtenhove for Open Social commentedPeter tested that the functionality works now. Just the old node paths are still valid, this is by design as far as I know.
Please re-open or create a new issue if you deem it necessary.