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).

Installation error

These were my settings.

Installation settings

There is a work-around by first installing without the Book functionality and after installation enable the Book module manually.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jaapjan created an issue. See original summary.

Anonymous’s picture

Version: 8.x-1.0-rc3 » 8.x-1.0-rc5

This is still an issue, if you select 'Book functionality' it breaks, works fine if you don't.

Carlos Miranda Levy’s picture

I can confirm this remains an issue on rc5.
Not selecting 'Book functionality' allows installation to complete successfully.

jochemvn’s picture

Assigned: Unassigned » jochemvn
Priority: Normal » Major
Related issues: +#2714497: Pre-existing 'book' content type prevents book module installation

Marking 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

jochemvn’s picture

Status: Active » Needs review
rosemeria’s picture

Ran 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.

jaapjan’s picture

Status: Needs review » Fixed

Thanks for fixing and testing! I've merged the pullrequest.

jaapjan’s picture

Carlos Miranda Levy’s picture

Issue 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.

jaapjan’s picture

Hi Carlos, it will be fixed in rc6!

gustavo.marcante’s picture

@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).

  • 539a6b8 committed on 8.x-1.x
    Issue #2876613 by jochemvn: Make book node body field a non optional...

Status: Fixed » Closed (fixed)

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