Commit graph

6 commits

Author SHA1 Message Date
benjamin melançon
1b088635a6 Tell Drupal to use the preview view mode with all the config 2019-01-28 17:53:43 -05:00
benjamin melançon
a61174b8a3 Author must be before body to not be in wrong place 2019-01-19 22:56:20 -05:00
benjamin melançon
96e28ee1b9 Add author field (for dc:creator), remove links 2019-01-19 15:05:39 -05:00
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