Problem/Motivation

core book module is also required to be installed while installing book_visibility module , otherwise it will not allow users to palace a block in block layout. Getting this error.

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "book.manager". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

To solve this, book module dependency should be added in book_visibility module info.yml

CommentFileSizeAuthor
#2 book_visibility-3475999.patch446 bytesradheymkumar
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

radheymkumar created an issue. See original summary.

radheymkumar’s picture

StatusFileSize
new446 bytes

I have attached the patch for the above issue.

radheymkumar’s picture

Status: Needs work » Needs review
avpaderno’s picture

Assigned: radheymkumar » Unassigned

mdranove made their first commit to this issue’s fork.

mdranove’s picture

Priority: Critical » Normal
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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