Commit graph

3 commits

Author SHA1 Message Date
benjamin melançon
be03f342b8 This can't be right but just try throwing empty 3rd party settings in
The actual error is in core/modules/content_translation/src/ContentTranslationManager.php here:

      foreach ($bundles as $bundle) {
        $config = $this->loadContentLanguageSettings($entity_type_id, $bundle);
        if ($config->getThirdPartySetting('content_translation', 'enabled', FALSE)) {
          $enabled = TRUE;
          break;
        }
      }

Something caused ane error like this, during configuration import:

 [notice] Synchronized configuration: create views.view.who_s_new in language.es.
Error: Call to a member function getThirdPartySetting() on null in /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php on line 99 #0 /var/www/drutopia/web/core/modules/content_translation/content_translation.module(180): Drupal\content_translation\ContentTranslationManager->isEnabled('group', '')
Error: Call to a member function getThirdPartySetting() on null in Drupal\content_translation\ContentTranslationManager->isEnabled() (line 99 of /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php).
PHP Fatal error:  Uncaught Error: Call to a member function getThirdPartySetting() on null in /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php:99
Stack trace:

Fatal error: Uncaught Error: Call to a member function getThirdPartySetting() on null in /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php:99
Stack trace:

(See agaric-com snippets)

The next thing that showed up on another try is the config we tried.
2019-01-17 14:02:08 -05:00
benjamin melançon
11bafffe6e Configure what RSS teaser view mode outputs
This somehow works even though the node_rss view row processor prevents node templates
from working, so we cannot override this template at the node level.
2019-01-17 13:34:28 -05:00
benjamin melançon
6edad65329 Add stub of RSS teaser work 2019-01-16 16:43:51 -05:00