Just installed this on a clean D8 install, attempted to create a visibility dependency on a Select List value and I get the following error:
"The website encountered an unexpected error. Please try again later."
The dependency is on a field inside a field collection group. It looks like it creates the dependency but won't let me in to edit it.
The log details are:
"Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 133 of /var/www/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php)."
Any help would be appreciated, I'm not really a PHP dev so debugging this is well beyond my realm. Thanks!
Comments
Comment #2
afarino CreditAttribution: afarino commentedComment #3
OlgaRabodzei CreditAttribution: OlgaRabodzei at Adyax commentedHi, Anna!
I would be appreciated if You check it one more time with the last release(2017-Apr-26) and provide some more information
1 - Did You use the field_collection module?
2 - What content entity type did You use? Was it Field collection?
1 - What "Values input mode" did You use?
2 - (if it was widget) What widget did You use for the control field? Was it select?
3 - Was the control field multiple or single?
4 - What widget did You use for the target field?
BUT in general I'm afraid we don't support field_collection module for now.
Regard Olga.
Comment #4
afarino CreditAttribution: afarino commented@OlgaRabodzai Worked around this by creating my own show/hide js so apologies for the delay in response!
It looks like as of the April update it's not even recognizing the field_collection fields as options to target.
To answer your questions though
1 - Yes it was field_collection
2 - Not completely understanding this question but it was a Field Collection field i was targeting
3 - I used Has Value
4 - I was basing it off a select field
5 - Single field but the overarching fieldgroup it resided in was multiple
6 - Target was a textarea
I look forward to seeing support for field_collection grow because this is a super helpful module for developing clean backends
Comment #5
colanAs Field Collection is deprecated in favour of Paragraphs for Drupal 8 (see #2784931: Proposal: Deprecate Field Collections for Drupal 8, focus on Entity Reference Revisions & Paragraphs), there will be much more effort here to support Paragraphs.
However, patches in support of Field Collection are welcome.