Account created on 14 November 2011, about 13 years ago
#

Recent comments

🇩🇪Germany rhiss

Hello @ll, thanks for the effort and discussion so far. I have the joy of updateing an old Drupal 8.6.1, in times of Drupal 11, and also came to this issue, hopefully the last one ever, but just in case:
drupal/web/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php -> renameTable()

  public function renameTable($table, $new_name) {
    if (!$this->tableExists($table)) {
      $this->connection->schema()->dropTable($table);
//      throw new SchemaObjectDoesNotExistException("Cannot rename '$table' to '$new_name': table '$table' doesn't exist.");
    }
    if ($this->tableExists($new_name)) {
      $this->connection->schema()->dropTable($new_name);
//      throw new SchemaObjectExistsException("Cannot rename '$table' to '$new_name': table '$new_name' already exists.");
    }

    $info = $this->getPrefixInfo($new_name);
    $this->connection->query('ALTER TABLE {' . $table . '} RENAME TO `' . $info['table'] . '`');
  }
🇩🇪Germany rhiss

Please read:  https://www.drupal.org/node/3322420
We need to enable the phpass module using Drush.

🇩🇪Germany rhiss

I just added the 12 support: "drush.services.yml": "^9 || ^10 || ^11 || ^12"

🇩🇪Germany rhiss

Hi, just a little change to the patch because of "The 'core_version_requirement' constraint (^9.2 || ^10) requires the 'core' key not be set ..."

🇩🇪Germany rhiss

the patch #2 did not apply for me. created a new patch.

🇩🇪Germany rhiss
<a href="https://www.mydomain.com" class="use-ajax" data-dialog-type="modal" data-dialog-options="{&quot;width&quot;:&quot;700px&quot;}"> <i class="fa fa-book" aria-hidden="true"></i> Benutzerhandbuch</a>
$build['open_in_modal'] = [
      '#type' => 'link',
      '#url' =>Url::fromRoute('my-example-route'),
      '#title' => t('Open in fullscreen'),
      '#attributes' => [
        'class' => ['use-ajax'],
        'data-dialog-type' => 'full_screen',
      ],
      '#attached' => [
        'library' => ['core/drupal.dialog.ajax'],
      ],
    ];
Production build 0.71.5 2024