πŸ‡©πŸ‡°Denmark @bartvig

Account created on 2 December 2014, about 10 years ago
#

Recent comments

πŸ‡©πŸ‡°Denmark bartvig

My issue is that when the translations are also cloned, they keep the owner and date. This can prevent an editor from removing unwanted translations.

Also, if the editor doesn't have access to edit or delete content in specific languages, this can pose a problem, but that's a different issue.

I have attached a patch that makes sure that all cloned translations have the same uid, created, changed, and revision_timestamp as the cloned original language.

πŸ‡©πŸ‡°Denmark bartvig

There is a module for this: https://www.drupal.org/project/siteimprove_analytics β†’

I'll close this issue for now. If it will be decided to add that functionality to this module (e.g. as a sub module), that will be handled then.

πŸ‡©πŸ‡°Denmark bartvig

I have added some documentation to the module's page.

πŸ‡©πŸ‡°Denmark bartvig

Added documentation of how to enable Siteimprove Analytics.

πŸ‡©πŸ‡°Denmark bartvig

bartvig β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡°Denmark bartvig

bartvig β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡°Denmark bartvig

I'm going to need some more information. I can't reproduce the error on a freshly installed Drupal 10.1.0 or Drupal 10.1.2.

The only way I can see that any checkboxes in SettingsForm.php could be null and thus producing the mentioned error, is if node_type_get_names(); returns null, and the documentation says it returns string[], so I'm puzzled as to how you can get this error.

If either there are no node types, taxonomy types, or group types (and the group module has been enabled), then all the checkboxes variables will be empty arrays which is fine.

πŸ‡©πŸ‡°Denmark bartvig

bartvig β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡°Denmark bartvig

Oh, I think I understand the issue now. You don't want the overridden value to be displayed in the settings form, but the overridden should still be used in API calls.

πŸ‡©πŸ‡°Denmark bartvig

We have a conflict with https://www.drupal.org/project/siteimprove/issues/3308624 πŸ’¬ Question with Config Overrides/Key module Fixed

In that issue, the code was specifically changed from $config = $this->config('siteimprove.settings'); to $config = $this->configFactory->get('siteimprove.settings'); to allow config overrides.

πŸ‡©πŸ‡°Denmark bartvig

bartvig β†’ made their first commit to this issue’s fork.

Production build 0.71.5 2024