Hi,
thank you for the work you have done building the module.

I've just tested it but I have a big problem, the module is actually not loading the full node during the alias generation.
So if I have a path alias pattern setted like this: 'blog/[node:field_category]/[node:title]' it wont count the category part so the alias will be generated wrong.

I've just made a little patch, instead of creating a fake object node we can prepare it from the node using "node_form_submit_build_node" function.
This will easely fix the problem and the alias will be generated correctly, please check out the patch.

CommentFileSizeAuthor
patch.patch1.64 KBandrea.cavattoni

Comments

cavax created an issue. See original summary.

baisong’s picture

Looks great. Thank you @andrea.cavattoni!

baisong’s picture

Closing, fixed. The new features are available in alias_preview 7.x-1.2

baisong’s picture

Status: Needs review » Fixed
baisong’s picture

Status: Fixed » Closed (fixed)