Problem/Motivation
There is a bug due to a missing dependency for Paragraphs.
EBT Tiles creates a paragraph type EBT Tiles Items.
Therefore, Paragraphs must be installed.
However, this dependency is not listed in the info file.
So if the editor user tries to install EBT Tiles without having Paragraphs, there will be an error.
Steps to reproduce
- Ensure that Paragraphs is not installed
- Try to install EBT Tiles
- Result: The following error will be displayed:
In UnmetDependenciesException.php line 100:
Configuration objects provided by <em class="placeholder">ebt_tiles</em> have unmet dependencies: <em class="placeholder">core.entity_form_display.block_content.ebt_tiles.default (paragraphs), core.entity_view_display.block_content.ebt_tiles.default (
entity_reference_revisions), field.storage.block_content.field_ebt_tiles (entity_reference_revisions, paragraphs)</em>
Proposed resolution
Define the dependency for Paragraphs.
Info file
In the dependencies key use:
dependencies:
- ebt_core:ebt_core
- paragraphs:paragraphs
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #3
renatog commentedFixed: https://git.drupalcode.org/project/ebt_tiles/-/merge_requests/2
Comment #5
levmyshkinHi Renato, thank you!
Comment #6
levmyshkinComment #7
levmyshkin