After update to the 7.x.1.4 version I have notice that Rendered entity formatter does not respect anymore "Show links" settings.
Steps to reproduce on vanilla Drupal installation:
1) install entityreference >= 1.3
2) create a test content type and add a entityreference field on it (a node refrence for me but I guess that the problem is reproducibile by referencing any entity type)
3) configure the display for the created entity reference field on "manage display" by set format: Rendered entity. In the formatter setting set view mode teaser and uncheck the "Show links" options.

4) create a test node (test content type) and fill the entityreference field.
5) when you view the created node the referenced entity links are shown without respect the formatter settings

Comments
Comment #2
willzyx commentedLooks like the bug was intrduced in #1580348: Make the formatters work with other reference fields
Comment #3
mustanggb commentedIIRC
[$item[$column]]has problems with PHP7.You might have to do
{$item[$column]}instead.Comment #4
willzyx commented@MustangGB please can you provide some reference for this? I'm just curious.. :) if it is true there are some other points in the module that have this problem
I produced and tested the patch on php 7 whitout any issue
Comment #5
mustanggb commentedNevermind, I mis-remembered, it's if it was something like
$result->$item[$column]then you'd need to do$result->{$item[$column]}Here is the reference: Changes to the handling of indirect variables, properties, and methods
Carry on.
Comment #6
willzyx commented@MustangGB thanks for the reference!
Since there are not problems with the patch and it solves the issue reported can we mark it as RTBC?
Comment #7
megachrizI can confirm that the patch fixes the issue in my case.
Here is the same fix, but with an automated test. The tests only patch should fail, it is meant to demonstrate the issue.
Comment #9
megachrizSmall changes to the test:
No functional changes were made.
Comment #10
willzyx commented@MegaChriz great work! Looks good, to me it is RTBC.
Comment #11
erwangel commented#2 worked for me also. Thank you
Comment #12
joseph.olstad+1 for patch #9 , nice work adding the simpletest.
Comment #14
willzyx commentedThe failure was caused by views tests and was fixed here #2903006: Fix tests for 7.x-3.x. Back to RTBC
Comment #16
willzyx commentedComment #17
joseph.olstadRTBC this patch! Please commit!
see related issue:
#2903246: Set automated testing to php 7.0, recent views upstream change caused php 5.3 to fail
Comment #18
erwangel commentedAfter the last "Entity reference" update, I had to (re)apply changes manually :( and have the "link" setup working again. Yes, please commit.
Comment #19
joseph.olstadhere's a straight reroll of #9 off of head
no difference than patch #9 other than being able to cleanly patch without fuzz
therefore maintain RTBC status
Comment #21
joseph.olstadMaintainers, please set php7 as the default automated test.
Views 7.x-3.17 is a dependency of the tests and no longer supports php 5.3
Comment #22
joseph.olstadMaintainers, please set php7 as the default automated test.
Views 7.x-3.17 is a dependency of the tests and no longer supports php 5.3
Comment #23
mustanggb commented@joseph.olstad: Just an FYI, the breakage in views is only temporary, see #2903006: Fix tests for 7.x-3.x.
Comment #24
pcambraConfirming the RTBC, links are no longer shown when opting out the show links option.
Comment #25
hkirsman commentedConfirming this works. Please release to dev.
Comment #26
gsquirrelpatch at #19 worked for me also
Comment #27
minoroffense commentedReroll against latest dev. If this passes I'll merge it in.
Comment #28
ciss commented@minorOffense bump, you wanted to merge your reroll in #27. :)
Comment #30
minoroffense commentedComment #31
joseph.olstadA release plan, all RTBC except one.
Comment #33
joseph.olstadhttps://www.drupal.org/project/entityreference/releases/7.x-1.6-rc2
Comment #34
joseph.olstadComment #35
joseph.olstadhttps://www.drupal.org/project/entityreference/releases/7.x-1.7
Comment #36
joseph.olstadplease try the latest release
https://www.drupal.org/project/entityreference/releases/7.x-1.9