Problem/Motivation

__construct() error when save content inside workspace stage environment

Steps to reproduce

  • Enable workspace in core and install workspace extra
  • In workspace switch to stage
  • Edit your content
  • Error will appear
TypeError: Drupal\paragraphs_report\ParagraphsReport::__construct(): Argument #5 ($aliasManager) must be of type Drupal\path_alias\AliasManager, Drupal\workspaces\WorkspacesAliasManager given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 in Drupal\paragraphs_report\ParagraphsReport->__construct() (line 172 of /var/www/html/web/modules/contrib/paragraphs_report/src/ParagraphsReport.php).
CommentFileSizeAuthor
#2 workspace_bug.patch1.51 KBshasha821110
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

shasha821110 created an issue. See original summary.

shasha821110’s picture

StatusFileSize
new1.51 KB
shasha821110’s picture

This patch works for me if you have workspace enabled.
Drupal core: 10.3.14
Workspaces Extra: 2.0 alpha

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

abhishek_gupta1’s picture

Status: Active » Needs review

I have applied #2 patch. worked for me, also I have created MR for easy to merge. please review it once

malcomio’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#3466474: Incompatible with workspaces module