Closed (fixed)
Project:
Pathauto
Version:
8.x-1.0-alpha2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
3 Mar 2016 at 17:39 UTC
Updated:
2 May 2016 at 18:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
VBN commentedI partly solved this by removing the pattern that i used for forum nodes.
[term:vocabulary]/[term:name]
I'll create some new forums and containers first and then try to create a forum pattern again.
Wip...
Comment #3
berdirYes, the forum integration is currently completely untested and apparently broken.
Comment #4
VBN commentedSo no need to keep on testing when we know it's broken right?
Comment #5
berdirI'm wondering if we should just remove that integration for now. I've closed multiple duplicate issues already.
AFAIK, forum/ID urls are currently even broken in core. So even if our code would work, it still would be broken.
Comment #6
berdirDoing just that.
Comment #7
dave reidDoes core intend to fix the forum routing? Is there a linked issue to that?
Comment #8
berdirYes, #2010132: Canonical taxonomy term link for forum vocabulary is broken.
Comment #9
dave reidAs much as I hate the forum special-casing, I'm not sure ripping the code out is the best method. I still feel strongly about supporting core use cases for aliasing, which as long as core includes forum, we should support it. What is wrong with our current code and why can't it be fixed? Or can we just always return FALSE in the applies() method for now?
Comment #10
berdirI think workaround like that will be way more confusing than simply not having that option for now.
We can make it a critical, 1.0 blocker to add it again (with test coverage). But it just seems pointless to try and do things correctly now when core doesn't actually work with forum/N url's in the first place.
Comment #11
dave reidWe can at least get things working so when core is fixed this will work. The problem was $this->configFactory wasn't defined. I think we just need test coverage to ensure this is working as expected, instead of ripping it out.
Comment #12
dave reidUpdated some copy/paste comments.
Comment #17
dave reidErrant key strokes generally ruin testability...
Comment #18
dave reidCommitted #17 to 8.x-1.x so that I can get a new release out.