Argument 2 passed to Drupal\\views\\Plugin\\views\\relationship\\RelationshipPluginBase::init() must be an instance of Drupal\\views\\Plugin\\views\\display\\DisplayPluginBase, array given, called in /var/www/html/drupal817/core/modules/views/src/Plugin/views/row/RowPluginBase.php on line 93 and defined in /var/www/html/drupal817/core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php on line 64
Steps to Reproduce:
1. Create Views of Content.
2. Add Relationship involving Reference Field.
3. Now, Under Format > Show select content option and then try to choose the display mode.
Here occurs the error, which can be seen in dblog.
Thanks,
PK
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | unable_to_change_the-2773405-2.patch | 842 bytes | purushotam.rai |
Comments
Comment #2
purushotam.rai commentedI was able to reproduce this issue on my local. Here goes the patch to solve this issue. Issue persists on 8.2.x branch too.
Comment #3
jonathanshawCould you give steps to reproduce? The IS explains the cause of the problem, but it might help to say what the result is.
Comment #4
purushotam.rai commentedComment #5
purushotam.rai commentedComment #6
jonathanshawYour patch works for me, but this issue would seem to be a duplicate of #2457999: Cannot use relationship for rendered entity on Views?
Comment #7
purushotam.rai commented