Problem/Motivation
Currently, the code in PathAliasProcessor detects entity from path parts. However, for taxonomy/term/ paths, "taxonomy" is not an entity name.
Steps to reproduce
Try generating an alias for taxonomy term. The functionality does not succeed.
Proposed resolution
Use url validator to convert path to url, extract url parameters, check if they work.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3426601-2-fix-taxonomy-term-detection.patch | 2.99 KB | alexrayu |
Comments
Comment #2
alexrayu commentedComment #3
alexrayu commentedRemove unused use statement.
Comment #4
macsim commentedNice catch. Thanks for the patch.
I tested it and it works like a charm
Comment #6
macsim commentedComment #14
macsim commentedComment #15
macsim commented