Milton, Delaware
Account created on 19 November 2012, almost 12 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States xandermar Milton, Delaware

Turns out I had a deprecated View - wish watchdog could have been more clear on the issue.

πŸ‡ΊπŸ‡ΈUnited States xandermar Milton, Delaware

Patch created that updates the code...

diff --git a/src/Plugin/CKEditorPlugin/Markdown.php b/src/Plugin/CKEditorPlugin/Markdown.php
index b5c771e..992cbab 100644
--- a/src/Plugin/CKEditorPlugin/Markdown.php
+++ b/src/Plugin/CKEditorPlugin/Markdown.php
@@ -19,7 +19,7 @@ class Markdown extends CKEditorPluginBase {
    * {@inheritdoc}
    */
   public function getButtons() {
-    $path = $this->getModulePath('ckeditor_markdown') . '/js/plugins/markdown';
+    $path = \Drupal::service('extension.list.module')->getPath('ckeditor_markdown') . '/js/plugins/markdown';
     return [
       'Markdown' => [
         'label' => $this->t('Markdown'),
@@ -32,7 +32,7 @@ class Markdown extends CKEditorPluginBase {
    * {@inheritdoc}
    */
   public function getFile() {
-    return $this->getModulePath('ckeditor_markdown') . '/js/plugins/markdown/plugin.js';
+    return \Drupal::service('extension.list.module')->getPath('ckeditor_markdown') . '/js/plugins/markdown/plugin.js';
   }

   /**
πŸ‡ΊπŸ‡ΈUnited States xandermar Milton, Delaware

Thanks to @anybody and @realityloop, I was able to fix my issues identical to #9. For anonymity, all private data is [in_brackets]

In config, I had the file:
user.role.[role].yml

In that file was:

uuid: [uuid]
langcode: en
status: true
dependencies:
  module:
    - field_permissions
id: [role_id]
label: '[role_label]'
weight: 11
is_admin: null
permissions:
  - 'create field_[field_name]'
  - 'edit field_[field_name]'
  - 'edit own field_[field_name]'
  - 'view field_[field_name]'
  - 'view own field_[field_name]'

I simply deleted this block:

permissions:
  - 'create field_[field_name]'
  - 'edit field_[field_name]'
  - 'edit own field_[field_name]'
  - 'view field_[field_name]'
  - 'view own field_[field_name]'

...and ran another 'drush cim' (drush import)

Then, the import ran successfully and no more errors

 [notice] Synchronized configuration: update user.role.[role].
 [notice] Finalizing configuration synchronization.
 [success] The configuration was imported successfully.
Production build 0.71.5 2024