Closed (fixed)
Project:
Entity Reference Revisions
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2015 at 11:29 UTC
Updated:
2 Apr 2018 at 09:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
webflo commentedComment #3
luksakWorks for me so far.
Comment #5
miro_dietikerOK committing this.
Still, i'm concerned about almost no test coverage in this module and basically many things are only tested by the module Paragraphs that uses it...
I think we should have some basic test view to proof things work.
Comment #7
jeroen.b commentedComment #8
hypertext200I have Paragraphs module installed with this module and I can't get any Paragraphs loaded by the node id, so I had to do this change in order to make it work. See the patch file. It was referencing the wrong field.
Comment #9
miro_dietikerWould be great if you could help us cover your case in a test.
Comment #10
tbonomelli commentedComment #11
tbonomelli commentedAdded the test module and its definition.
Need to create a view and export its config to see if the fields that we added are shown.
I'm not sure which settings I need to use for the view.
Comment #12
miro_dietikerWe don't need to implement the hook_views_data_alter to import a view in the test module.
This issue is starting to mix things.
1) We want to have test coverage for the thing we implemented.
2) There might be additional use cases like Paragraphs that need more test coverage and fix / improvements. Should be separate follow-up issues.
Comment #13
tbonomelli commentedComment #14
idebr commentedConsidering the (partial) commit, I suggest we implement the tests in #2799479: Views doesn't recognize relationship to host. The related issue includes improvements to Views integration that should make the use case for Entity reference revisions in Views easier to demonstrate.