- πΊπΈUnited States smustgrave
Wonder if this. ticket can be closed for π When installing a profile module it incorrectly gets added to the module list with type module Needs review as they have a patch over there.
- π¦πΊAustralia taggartj
For me in 10.1.3
I had to do something like this
in Drupal\Core\Extension\ExtensionList ....was upgrading but drush cr was not working / throwing an error
public function getPathname($extension_name) { ........ // If we make it here were not doing so good. if ($this->type === "profile") { //dump($this->getPathnames()); $module_list = \Drupal::moduleHandler()->getModuleList(); if (!empty($module_list[$extension_name])) { $ext = $module_list[$extension_name]; if (is_object($ext)) { return $ext->getExtensionPathname(); } } } throw new UnknownExtensionException("The {$this->type} $extension_name does not exist.");
just incase you see "The profile X does not exist."