Hi all!

I'm creating a profile with the blog module enabled. I have started with the standard.info.yml file as the base of my profile info.yml. I downloaded the blog module (with drush) and added the "- blog" line to the info.yml of my profile.

If i start the installation via drush the site is installed without problems but if i start a normal installation via web, the installation process never ends. When the process completed the node installation (the dependency), it will be continuosly making GET petittions for core/install.php?rewrite=ok....

The response via network in chrome inspector is:

<em class="placeholder">Drupal\Core\Config\UnmetDependenciesException</em>: Configuration objects (core.entity_form_display.node.blog_post.default, core.entity_view_display.node.blog_post.default, field.field.node.blog_post.field_blog_comments, field.storage.node.field_blog_comments, node.type.blog_post) provided by blog have unmet dependencies in <em class="placeholder">Drupal\Core\Config\UnmetDependenciesException::create()</em> (line <em class="placeholder">89</em> of <em class="placeholder">/home/lmgonzalez/development/luismagr/luismagonzalez/core/lib/Drupal/Core/Config/UnmetDependenciesException.php</em>).

Can somebody reproduce that? My code is in github so you can see or test it https://github.com/luismagr/luismagonzalez

Thanks!

Comments

luismagr created an issue. See original summary.

luismagr’s picture

StatusFileSize
new256 bytes

After talking with @jonhattan (https://www.drupal.org/u/jonhattan) the problem was that there are missing dependencies in the module info file. I have added all the dependencies to the info file and the installations works fine.

I have created a patch to fix this issue.

Thanks again

luismagr’s picture

Status: Active » Needs review
luismagr’s picture

texas-bronius’s picture

Status: Needs review » Reviewed & tested by the community

Can I mark this RTBC?
On a new site, I issued

drush en blog -y

and got the big scary dependency spew. I found this thread, made the change as suggested by @luismagr in #2, reran the same drush command, et voila, no dependencies error.

omar alahmed’s picture

StatusFileSize
new543 bytes

#2 patch should be fixed as it became outdated after adding views as dependency.

The attached patch should do that.

nevergone’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.