Needs work
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Product
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Oct 2015 at 14:58 UTC
Updated:
17 Dec 2015 at 18:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
xanoComment #3
mglamanComment #4
joelpittetI could be wrong but shouldn't this be a new handler called
commerce_product_handler_field_product_url? Before it was returning a link tag and now it's returning a URL. Something is not fitting.Comment #5
mglamanChanged from render to get_value, because views_handler_field_url renders a link.
Drills into
Now it uses Entity API to properly render link
Comment #6
xano@mglaman: Did you accidentally forgot to attach a patch?
Comment #7
mglamanXano, I moved it back to CNR for your patch as it's proper in my opinion.
Comment #8
joelpittet@mglaman if
views_handler_field_urlrenders a link, and this is being changed to use that class, shouldn't this also render a link as it did before then? Either the name is really confusing or I am missing something...Comment #9
joelpittetTo clarify my concern the render() to get_value() override looks fine, my only concern is the confusing class name.
Comment #10
joelpittetMaybe we can't do anything about that but yeah...
Comment #11
xanoIt looks like you're right. I just haven't had the chance to look at this code again.