Problem/Motivation

I just realized when creating new content since updating to Open Social v. 10* that URL's are not being generated via Pathauto/Social Path Manager.

I have confirmed that existing content does retain their 'title' based URL and in fact if they were generated by SocialPath Manager, the checkbox (When logged in as Administrator) is still in place.

I tried to regenerate the URL's in Pathauto settings /admin/config/search/path but that did not work

Steps to reproduce

Update to version 10*
Create a new topic
Save and note, that no url is automatically generated as the url will say /node/234

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

bas123 created an issue. See original summary.

bas123’s picture

Addendum!

I am noticing that the Social Path Manager's checkbox to "Generate Automatic URL alias" is no longer present for Admins. in either Create or Editing.

Instead, with ALL OTHER Content Created (Except Groups), only the option to manually create a path is present, otherwise the path is created by it's node ID only. (No pathauto alias is created) - This is an edit screen of a previously created (automatic Aliased URL, if it were left blank, only the node/ID# would be rendered!)

/2021-03-24/pathauto%20issue-version-10a

This is the case for every content type EXCEPT Groups which have the checkbox

/2021-03-24/pathauto%20issue-version-10b-groups

This also succeeded in automatically generating the proper URL Alias for the Group

2021-03-24/pathauto%20issue-version-10b-groups-create

The LU (Authenticated) has no option regardless, and any new content renders with no alias!

Note: Crew Department is actually a Flexible Group as that Group type has been renamed as such!

bas123’s picture

Priority: Normal » Major
bas123’s picture

Title: Pathauto no longer replaces URL in nodes since updating to version 10 » Pathauto/Social Path Manager no longer replaces URL (Alias) in nodes since updating to version 10
tseven’s picture

I too am experiencing this issue on 10.x.

robertragas’s picture

I have created a PR for this issue

https://github.com/goalgorilla/open_social/pull/2311

Was caused by refactoring of the content creation forms. This applied to regular content that hides this "automatic url alias" checkbox and applies a custom submit.

For groups this didn't apply and can be seen by this checkbox being visible, which means also this custom submit was not called there and not causing an issue.

robertragas’s picture

Status: Active » Needs review

  • 588a0c3 committed on 10.0.x
    Merge pull request #2311 from goalgorilla/bugfix/3205288-pathauto
    
    Issue...
ronaldtebrake’s picture

Status: Needs review » Fixed

Thanks for that Robert.

It will be in 10.0.9 / 10.1.2

  • e03d5d9 committed on 10.1.x
    Merge pull request #2311 from goalgorilla/bugfix/3205288-pathauto
    
    Issue...

  • 7f23c7e committed on 10.2.x
    Issue #3205288 by robertragas: make sure our automatic path alias works...
  • ff50a68 committed on 10.2.x
    Merge pull request #2311 from goalgorilla/bugfix/3205288-pathauto
    
    Issue...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.