This fixes a bug in the implementation (a left over `$node_type`) and switches the hooks to their entity-qualified counterparts.

Comments

t0xicCode’s picture

Status: Active » Needs review
StatusFileSize
new3.6 KB
t0xicCode’s picture

StatusFileSize
new3.56 KB

Oops, this should have been -2.patch.

lendude’s picture

Status: Needs review » Needs work

The delete implementation throws an error.

Notice: Array to string conversion in pathauto_path_delete_all()

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'Array' OR source LIKE 'Array/%'' at line 1

Other changes look good. It could use a bit of cleaning up, thanks for that.

lendude’s picture

Status: Needs work » Needs review
StatusFileSize
new4 KB

Something like this seems to work.

Added some more coding standard cleaning and a fix to the dependencies in .info

t0xicCode’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @Lendude. I had it seems I had modified the patch after I submitted it here. In any case, I can RTBC this and would love to see it added (and the module released).

t0xicCode’s picture

StatusFileSize
new4 KB

Didn't mean to delete this (today is not my day)...

lendude’s picture

Hehe, no worries.

The patch in #4 had some whitespace errors, fixed those and made an interdiff against your original patch in #2 (just cause I gotta get used to making those :-)

Will push those and will see what I can do about getting this released. Thanks for taking a look at it!

lendude’s picture

Status: Reviewed & tested by the community » Fixed

Pushed to sandbox.

lendude’s picture

Status: Fixed » Closed (fixed)

And now with the right status to actually close it.....

t0xicCode’s picture

Awesome! Any chance that you could promote the project to a full project?