When you do an installation via the UI on /install.php and select "Book functionality" in field "Enable additional features" the Social Book module is not enabled and the installation throws an error:
ResponseText: Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by <em class="placeholder">social_book</em> have unmet dependencies: <em class="placeholder">core.entity_form_display.node.book.default (field.field.node.book.body)</em> in Drupal\Core\Config\UnmetDependenciesException::create() (line 98 of /var/www/html/core/lib/Drupal/Core/Config/UnmetDependenciesException.php).
These were my settings.
There is a work-around by first installing without the Book functionality and after installation enable the Book module manually.
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2017-05-08 at 15.20.19.png | 45.87 KB | jaapjan | |
Screen Shot 2017-05-08 at 15.24.40.png | 236.27 KB | jaapjan |
Comments
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThis is still an issue, if you select 'Book functionality' it breaks, works fine if you don't.
Comment #3
Carlos Miranda Levy CreditAttribution: Carlos Miranda Levy as a volunteer commentedI can confirm this remains an issue on rc5.
Not selecting 'Book functionality' allows installation to complete successfully.
Comment #4
jochemvn CreditAttribution: jochemvn for Open Social commentedMarking this as Major and assigned to me.
The issue here is the fact that in the book core module the 'field.field.node.book.body' file and some other files have been moved from the book/config/install directory to the book/config/optional directory. As per the related issue
Comment #5
jochemvn CreditAttribution: jochemvn for Open Social commentedReady for review: https://github.com/goalgorilla/open_social/pull/404
Comment #6
rosemeria CreditAttribution: rosemeria as a volunteer commentedRan an install test on Open Social 8.x-1.0-rc5 w/field.field.node.book.body.yml.
OS install ran with no errors, demo content added, and book module is working as expected.
Comment #7
jaapjan CreditAttribution: jaapjan at Open Social commentedThanks for fixing and testing! I've merged the pullrequest.
Comment #8
jaapjan CreditAttribution: jaapjan at Open Social commentedComment #9
Carlos Miranda Levy CreditAttribution: Carlos Miranda Levy as a volunteer commentedIssue remains after doing composer update.
Currently on 8.x-1.0-rc5
I guess we have to wait until next release.
Thanks for the effort and caring.
Comment #10
jaapjan CreditAttribution: jaapjan at Open Social commentedHi Carlos, it will be fixed in rc6!
Comment #11
gustavo.marcante CreditAttribution: gustavo.marcante commented@jaapjan Do you have an idea about when the RC6 will be available?
(I did two installs of OpenSocial 1.0 RC5, in my Ubuntu 16.04 desktop and Platform.sh, and I got the same error in both. I disabled "Book functionality" in "Aditional features" in the dialog box, and it completed correctly).