Closed (fixed)
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2019 at 05:48 UTC
Updated:
31 Mar 2019 at 13:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
akshay_dreplaced deprecated method please review
Comment #3
njim commentedThe deprecated Unicode::strlen() was replaced with mb_strlen() as specified in the sited core issue. This change was correctly applied in the patch file. There are no other instances of Unicode methods to replace in the pathauto module.
Conducted a function review by defining a pathauto content pattern of '[node:title]' and setting 'Maximum alias length' to 20 characters. Experimented with content with length of 20 or more characters. Test cases included unicode characters greater than 1 byte. Confirmed urls were correctly truncated including the creation of numeric suffixes.
Comment #4
berdirThanks, looks like I missed that one earlier as it is on the same line as the still required Unicode::truncate().
@nJim, great example of a RTBC comment, exactly describing what you tested and actually testing the relevant part is great, thanks.