🇬🇧United Kingdom @intrafusion

Edinburgh, UK
Account created on 31 January 2009, over 16 years ago
#

Merge Requests

More

Recent comments

🇬🇧United Kingdom intrafusion Edinburgh, UK

@mably they were fixed in 📌 Fix newly reported phpcs issues in latest pipeline Active but I didn't notice as we've had to lock our site to beta2 due to an issue with beta3 and another dependency domain_language

🇬🇧United Kingdom intrafusion Edinburgh, UK
🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

Pacth from #6 converted to MR

🇬🇧United Kingdom intrafusion Edinburgh, UK

We're experiencing the same issue and it's because there are no options for a specific facet hence it's not shown, but the template calls are still firing.

I fully accept that this is probably not the correct solution to the problem, but wanted to to stop these errors being logged

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch 3.0.x to hidden.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch 3.0.x to active.

🇬🇧United Kingdom intrafusion Edinburgh, UK

If you're introducing new variables there needs to be an update hook to avoid missing data on existing installs

🇬🇧United Kingdom intrafusion Edinburgh, UK

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

🇬🇧United Kingdom intrafusion Edinburgh, UK
🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

If anyone lands on this issue, I discovered in printable.settings extract_links: '' by changing this to extract_links: 'none' the error went away

🇬🇧United Kingdom intrafusion Edinburgh, UK

I thought I had released the Drupal 11 update, but obviously not!

There aren't any pending MRs at the moment

🇬🇧United Kingdom intrafusion Edinburgh, UK

As per my comment in #5, this has been running for a few weeks on our production system and appears to be working as expected

🇬🇧United Kingdom intrafusion Edinburgh, UK

I’m confused, if this has already been committed the tests passing or failing are irrelevant?

Just need a tagged release to enable the module to be installed

🇬🇧United Kingdom intrafusion Edinburgh, UK

Can we get a tagged release?

It's not possible to upgrade to D11 without one

🇬🇧United Kingdom intrafusion Edinburgh, UK

We have been using this on a production D11 site for approx. 1 month without any obvious issues

🇬🇧United Kingdom intrafusion Edinburgh, UK

@trickfun the patch on it's own is not enough to upgrade, your repositories section of composer.json it should look like:

    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8",
            "exclude": [
                "drupal/commerce_klarna_payments"
            ]
        },
        {
            "type": "git",
            "url": "https://git.drupalcode.org/issue/commerce_klarna_payments-3506060.git"
        }
    ],

You may have additional repositories so ensure you don't override something else you need. You should then be able to run composer require drupal/commerce_klarna_payments:dev-3506060-support-commerce-3 to install the patched version allowing the upgrade.

🇬🇧United Kingdom intrafusion Edinburgh, UK

Further debugging has discovered a difference between Facets v3 & Better Exposed Filters v7 (required for D11)

After amending 'widget' => '<nowidget>', to 'widget' => ['type' => 'dropdown', 'config' => []], in \Drupal\facets_exposed_filters\Plugin\views\filter\FacetsFilter::getFacet the error is now gone and I can access the settings link against the filter, but it's not possible to change widgets as per https://project.pages.drupalcode.org/facets/exposed_filters/#better-expo...

🇬🇧United Kingdom intrafusion Edinburgh, UK

I get exactly the same error, different line number, when I simply add a facet to the filter criteria. Same error is also generated when I click on settings.

This might be a D11 issue as we've upgraded recently

🇬🇧United Kingdom intrafusion Edinburgh, UK

From looking through the code, \Drupal\schema_metatag\SchemaMetatagManager::encodeJsonld has JSON_PRETTY_PRINT set in the flags for json_encode

Is there any specific reason for this other than for debugging? It would make sense to remove this when caching and/or aggregate CSS/JavaScript is enabled

🇬🇧United Kingdom intrafusion Edinburgh, UK

At this stage I needed this patch to be able to install Drupal 11.

It will be tested further during the next few weeks.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK
🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch 3438140-automated-drupal-11 to hidden.

🇬🇧United Kingdom intrafusion Edinburgh, UK

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

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch 8.x-1.x to hidden.

🇬🇧United Kingdom intrafusion Edinburgh, UK

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

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch 3.x to hidden.

🇬🇧United Kingdom intrafusion Edinburgh, UK
🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion created an issue.

🇬🇧United Kingdom intrafusion Edinburgh, UK

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

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch 3428501-automated-drupal-11 to hidden.

🇬🇧United Kingdom intrafusion Edinburgh, UK

intrafusion changed the visibility of the branch project-update-bot-only to hidden.

🇬🇧United Kingdom intrafusion Edinburgh, UK

By adding the following to the config section in composer.json the original patch by poker10 applies cleanly and Upgrade Status says the module is compatible:

  "preferred-install": {
      "drupal/commerce_stock": "source",
      "*": "auto"
  },
🇬🇧United Kingdom intrafusion Edinburgh, UK

4b4f933a does not apply cleanly
ae993fcb is not required in this issue, it should be moved to a separate one

🇬🇧United Kingdom intrafusion Edinburgh, UK

This option has now been added by default to dialog.ajax.js as drupalAutoButtons

Usage example:

[
  '#type' => 'link',
  '#title' => $this->t('Log in'),
  '#url' => new Url('user.login'),
  '#attributes' => [
     'class' => ['use-ajax'],
     'data-dialog-type' => 'modal',
     'data-dialog-options' => '{"drupalAutoButtons":false}',
  ],
];
🇬🇧United Kingdom intrafusion Edinburgh, UK

Moved NonKlarnaOrderException into a separate try/catch block

🇬🇧United Kingdom intrafusion Edinburgh, UK

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

🇬🇧United Kingdom intrafusion Edinburgh, UK

The server side key is the normal Rollbar API key, the client side key is for JavaScript

Once the keys have been added, you have to trigger an error for Rollbar to receive data, no errors no data

🇬🇧United Kingdom intrafusion Edinburgh, UK

Would appear that somewhere between 8.5 & 11 this has been rectified

🇬🇧United Kingdom intrafusion Edinburgh, UK

The 10.1.x patch from #62 doesn't apply to 10.2.x but the 11.x patch from #67 does, testing whether this still fixes the issue for me

🇬🇧United Kingdom intrafusion Edinburgh, UK

Anyone landing here from Google, etc. the Drupal 10 version is:

use Drupal\Component\Utility\Number;

/**
 * Implements hook_preprocess_HOOK().
 */
function YOUR_THEME_NAME_preprocess_comment(&$variables) {
  /** @var \Drupal\comment\CommentInterface $comment */
  $comment = $variables['comment'];
  $thread = rtrim($comment->getThread(), '/');
  $variables['comment_number'] = Number::alphadecimalToInt($thread);
}
Production build 0.71.5 2024