eva_plugin_display_entity implements get_path but does so in a way that consumers like render_more_link are guaranteed to be wrong, because views_plugin_display's logic never gets a chance to apply.
Our use case is setting the 'more link' to a page display that has arguments like 'node/%/events'. Current EVA behavior is to output NODE_PATH/NID which is wrong. eva_plugin_display_entity's get_path needs to check if a path has been overridden before applying its logic.
I will attach a patch that fixes the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | eva-get-path-semantics-2459633-1-7.x.patch | 777 bytes | cha0s |
Comments
Comment #1
cha0s commentedComment #2
kevinsiji commentedTested. Working perfectly.
Comment #3
geek-merlinCode looks reasonable.
Comment #5
geek-merlinFixed in 1.4-rc1, which will become 1.4 if enough people use it without bugs reported. See #2647732: Plan for EVA 7.x-1.4 release
Comment #6
damienmckennaThis was committed.