Closed (fixed)
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Oct 2012 at 10:33 UTC
Updated:
4 Jan 2014 at 02:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mitchell commentedI tested this patch, and everything works well. Thanks, Alan D.
Comment #2
mitchell commentedTagging.
Comment #3
twardnw commentedThis checks out for me. Changed a entity reference field and it is marking nicely in diff.
Comment #4
adamdicarlo commentedTagging and elevating to critical because the drupal.org upgrade depends on this, and the functionally complete deadline is the end of this month.
Comment #5
adamdicarlo commentedI tested this on a local sandbox site and it works great. +1 RTBC.
Comment #6
amitaibuShouldn't we show a link to the entity, instead of just the title?
Comment #7
alan d. commentedThe link may be rendered as escaped HTML and would look untidy. Terms, files, etc, all just have titles and optional additional extras like the entity ID.
Comment #8
amitaibu> The link may be rendered as escaped HTML and would look untidy
I mean you can use entity_label() and entity_uri(), no?
Comment #9
alan d. commentedSorry, I'm not following. This already uses entity_label().
If you supply a link to the Diff engine, it is escaped to this
i.e. Rendered like this
<a href="path/to/entity">entity label</a>
Comment #10
amitaibuHere's what I mean:
Comment #11
adamdicarlo commentedNope - the DiffEngine actually escapes that output. We *can't* make it a clickable link. It would read as HTML code, like Alan said in #9.
Comment #12
mitchell commentedThere's an issue to encode html entities: #458672: Use real HTML-Diff algorithm in Drupal Diff module.
Comment #13
amitaibuCommitted.
I think it would be nice to have a link, once Diff supports it.
Comment #14
hass commentedWill there be a RC6 or final soon? :-)