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!
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | blog-added-dependencies-2546000-6.patch | 543 bytes | omar alahmed |
| #2 | blog-added-dependencies-2546000-2.patch | 256 bytes | luismagr |
Comments
Comment #2
luismagr commentedAfter 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
Comment #3
luismagr commentedComment #4
luismagr commentedComment #5
texas-bronius commentedCan I mark this RTBC?
On a new site, I issued
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.
Comment #6
omar alahmed#2 patch should be fixed as it became outdated after adding views as dependency.
The attached patch should do that.
Comment #8
nevergoneThanks!