If I try to bulk generate aliases I get this after updating to beta2:


warning: call_user_func(nodesymlinks_pathauto_bulkupdate) [function.call-user-func]: First argument is expected to be a valid callback in /var/www/ecomm/home.shopatron.com/htdocs/modules/pathauto/pathauto.admin.inc on line 261.

CommentFileSizeAuthor
Picture 4.png102.08 KBisaachorton

Comments

wojtha’s picture

Title: Error when attempting bulk generate aliases for nodesymlinks that are not aliased. » Broken bulk generate aliases for nodesymlinks in Pathauto 1.x.
Component: Miscellaneous » Code
Assigned: Unassigned » wojtha
Status: Active » Fixed

Thanks for report. Fixed in current dev. Download from github.com.

Tested with both Pathauto 1.x and Pathauto 2.x

isaachorton’s picture

Status: Fixed » Needs work

the bulk generate function executed for me fine, but the generated aliases are configured strangely which is breaking my css.

before my nodesymlinks alias looked like:

/path/of/original/location/title_3427 (the _3427 was added by nodesymlinks and is the mid)

but after updating ALL my nodesymlinks links look like:
/Branded Manufacturer / News & Events / In The News
(so its not loading the original alias with the appended mid, instead it loads the menu trail but with capital letters and spaces. on some pages the %20's appear as well.
maybe im doing something wrong but i tried all the other path replacement options and no luck getting it to display like it did before??

While the aliases work for me, the new path structure is breaking my css throughout the site and creating inconsistent linking patterns. Yikes!
Everything seems to be resolving correctly though and so the navigation is functional.
My site's css depend on the path locations being consistent from the original node to the nodesymlinks alias. The old way was working fabulously for me, my only problem was the added ampersands....

at this point it's safer for me to backtrack to the older version of the module and just deal with the ampersands.

wojtha’s picture

Status: Needs work » Fixed

Please don't reopen fixed issues if you want to report some other problem. I moved your issue here: #977352: Cannot create the "old style alias" <path-to-original-node>_<mid>

Please reopen this issue only when some problem with bulk update raises.

Status: Fixed » Closed (fixed)

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