Giter Site home page Giter Site logo

drupalwxt / wxt Goto Github PK

View Code? Open in Web Editor NEW
25.0 23.0 27.0 2.98 MB

Drupal 10 variant of the Web Experience Toolkit (WxT).

Home Page: https://drupalwxt.github.io

License: GNU General Public License v2.0

PHP 35.79% JavaScript 6.43% Gherkin 0.12% Twig 0.65% CSS 56.90% SCSS 0.10%
drupal drupal-profile wxt gcweb

wxt's Introduction

Web Experience Toolkit: Drupal WxT

Build Status

Important Links

The following are links to some useful resources:

General

Drupal

Advanced

Note: For up-to-date documentation please always consult our README.md file.

Overview

The Drupal WxT distribution is a web content management system which assists in building and maintaining multilingual web sites that are accessible, usable, and interoperable.

This distribution complies with the mandatory requirement to implement the Content and Information Architecture (C&IA) Specification as well as consulting the reference implementation and design patterns provided by the Canada.ca design system.

This is accomplished through our integration and use of the components provided by the Web Experience Toolkit which undergoes routine usability testing as well as provides conformance to the Web Content Accessibility Guideline (WCAG 2.0) and complies to the standards on Web Accessibility, Web Usability, and Web Interoperability.

Note: Drupal WxT is open source software (FOSS) led by the Government of Canada and free for use by departments, agencies and other external web communities.

Architecture

For a look into some of the design decisions and considerations please consult:

Operation

Installation

For a step by step guide on how to install Drupal WxT please consult:

Update Process

For a step by step guide on how the update process works in Drupal WxT please consult:

Deployments

Containers

For the (optional) container based local development workflow please consult our documentation site:

Kubernetes

For a reference implementation on a Cloud Native deployment in use by several production sites please consult our documentation site:

Version History

Changelog

Releases

Contributor(s)

Acknowledgements

Extended with code and lessons learned by the Acquia Team over at Lightning and BLT.

wxt's People

Contributors

bryden avatar colans avatar leeomara avatar minoroffense avatar nathanpw avatar nathanv avatar rabiasajjad avatar sensespidey avatar sjaffery avatar sjpeters79 avatar smulvih2 avatar spotzero avatar sylus avatar taylorpope avatar williamroboly avatar zachomedia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wxt's Issues

Release WxT 3.0.0-beta2

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated (NOT DONE - Leaving on 8.x-2.x branch for now)

Blog

This project doesn't look like it has been updated in years. Please write about what you are doing https://drupalwxt.github.io/

A bunch of us want to use this tool, but it doesn't help if it seems like you have to work at StatsCan to know what is happening with the code base.

Release v3.0.0

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

Release v3.0.6

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated
  • terraform-containers-webapp-azure updated

Release v3.0.0-alpha2

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

Release 2.2.13

See the full release documentation for more detail.

  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

Does not apply:

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org

Composer and DevDesktop

Run a clean composer buildout.
Add to DevDesktop as I normally do (including what works for Lightning)
and get this:

Additional uncaught exception thrown while handling exception.
Original

TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::reset() must be an instance of Doctrine\Common\Annotations\void, none returned in Doctrine\Common\Annotations\AnnotationRegistry::reset() (line 55 of /Users/robingalipeau/Sites/devdesktop/d8.6wxt/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php).

Doctrine\Common\Annotations\AnnotationRegistry::reset() (Line: 113)
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery->getDefinitions() (Line: 86)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 109)
Drupal\Core\Render\ElementInfoManager->buildInfo('seven') (Line: 76)
Drupal\Core\Render\ElementInfoManager->getInfo('form') (Line: 810)
Drupal\Core\Form\FormBuilder->prepareForm('install_select_language_form', Array, Object) (Line: 276)
Drupal\Core\Form\FormBuilder->buildForm('install_select_language_form', Object) (Line: 905)
install_get_form('Drupal\Core\Installer\Form\SelectLanguageForm', Array) (Line: 1330)
install_select_language(Array) (Line: 677)
install_run_task(Array, Array) (Line: 555)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
Additional
TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::reset() must be an instance of Doctrine\Common\Annotations\void, none returned in Doctrine\Common\Annotations\AnnotationRegistry::reset() (line 55 of /Users/robingalipeau/Sites/devdesktop/d8.6wxt/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php).

Doctrine\Common\Annotations\AnnotationRegistry::reset() (Line: 113)
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery->getDefinitions() (Line: 86)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 109)
Drupal\Core\Render\ElementInfoManager->buildInfo('seven') (Line: 76)
Drupal\Core\Render\ElementInfoManager->getInfo('html') (Line: 298)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 139)
Drupal\Core\Render\Renderer->Drupal\Core\Render{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 140)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 1011)
install_display_output(Array, Array, Array) (Line: 260)
_drupal_log_error(Array, 1) (Line: 600)
_drupal_exception_handler(Object)

Follow approved country list for addresses

Just did a demo where we realized that Taiwan is available in the list of countries. The GC doesn't officially recognize Taiwan, Tibet and a few others aren't countries that we officially recognize. That said, the Drupal community does. As much as I'd like to side with the Drupal community, it's kinda inappropriate for the GC, particularly when China is looking for faults.

Lets make sure that the list of countries is officially recognized.

Release 8.2.18

See the full release documentation for more detail.

  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

N/A

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org

Update docs

If you can only install this with composer, then the documentation should be clear about that.

Release 2.2.11

(NOTE: This release will be 2.2.11 due to the previous release having an incorrect version number on drupal.org)

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

Release v3.0.0-alpha1

A GitHub.com issue is to be created for each release and must contain (at minimum) the following checklist:

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

Release v3.0.5

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

CDN Problems for Canada.ca

GC Initiatives pre footer blocks are out of date. Seems to be that GC just stopped updating the Initiatives from its source: https://cdn.canada.ca/gcweb-cdn-live/features/features-en.html
Or did URL change?? (I'm trying to find out).

This is a problem on DrupalWxT 7 also
https://www.drupal.org/project/wetkit/issues/3012616

Also experienced GC footer breaking when CDN footer is enabled (not even sure there is a reference for CDN for "Global footer navigation"
https://www.canada.ca/en/treasury-board-secretariat/services/government-communications/canada-content-information-architecture-specification/headers-footers-navigation.html

Release v3.0.0-rc1

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

8.6 Installer now failing

Tarball is now ok, although it now goes through the installer process as per previous versions... it triggers following errors (straight up DevDesktop)... maybe try to replicate?:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /core/install.php?rewrite=ok&profile=wxt&langcode=en&continue=1&id=1&op=do_nojs&op=do
StatusText: OK
ResponseText: Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by wxt_admin have unmet dependencies: rdf.mapping.comment.comment (rdf) in Drupal\Core\Config\UnmetDependenciesException::create() (line 98 of /Users/robingalipeau/Sites/devdesktop/wxt-8.x-2.200/core/lib/Drupal/Core/Config/UnmetDependenciesException.php).

Release v3.0.4

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

Issue with updating Drupal WxT from 2.109 to 2.213

I have an issue with updating Drupal WxT from 2.109 to 2.213 by following https://www.drupal.org/docs/8/update/update-core-manually as below:

  1. Turn on maintenance mode
  2. Navigate into my wxt-8.x-2.109.
    cd /sites/intra/htdocs/wxt-8.x-2.109
  3. Remove the 'core' and 'vendor' directories.
    rm -rf core vendor
  4. Remove all of the files in the top-level directory.
    rm -f . .[a-z]*
  5. Copy the 'core' and 'vendor' directory and the files in the top-level directory from wxt-8.x-2.213 into wxt-8.x-2.109:
    cd ../drupalwxt/wxt-8.x-2.213
    cp -R core vendor /sites/intra/htdocs/wxt-8.x-2.109/
    cp . .[a-z]* /sites/intra/htdocs/wxt-8.x-2.109/
  6. from browser to run: http://pchintradev.in.pch.gc.ca/wxt-8.x-2.109/update.php
    Then I got the following error:
    The website encountered an unexpected error. Please try again later.
    Drupal\Core\Extension\Exception\UnknownExtensionException: The profile Array does not exist. in Drupal\Core\Extension\ExtensionList->get() (line 257 of core/lib/Drupal/Core/Extension/ExtensionList.php).
    Could you please help me with this? Thanks a lot!

Critical issue of entity_reference

We tried to install wxt8.x-2.13 to wxt8.x-2.18 and found this critical issue of entity_reference 👍
The field_slideshow_items entity reference field (entity_type: block_content, bundle: media_slideshow) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.
image

Updating issue with TarBall version from browser

Because DrupalWxT is for our Intranet site, Composer is not allowed. We are only able to update it from browser. We tried to run update.php from /wxt-8.x-2.109 for upgrading to 2.213, but I got an error with Dropzone library missing: Dropzonejs requires the dropzone.min.js library. Download it (https://github.com/enyo/dropzone) and place it in the libraries folder (/libraries).

Then I downloaded it from https://github.com/enyo/dropzone, and place all min.css and min.js under /libraries. But I still got the same error.

Thanks in advance!

Tarball installation issue with wxt8.x-2.214 and wxt8.x-2.215

I got the following error:
Additional uncaught exception thrown while handling exception.
Original

Drupal\Core\Extension\Exception\UnknownExtensionException: The profile lightning does not exist. in Drupal\Core\Extension\ExtensionList->get() (line 257 of /sites/intra/htdocs/wxt-8.x-2.214/core/lib/Drupal/Core/Extension/ExtensionList.php).

Drupal\Core\Extension\ExtensionList->get('lightning') (Line: 62)
Drupal\Core\Extension\ProfileExtensionList->getAncestors('wxt') (Line: 266)
Drupal\Core\Extension\ExtensionDiscovery->setProfileDirectoriesFromSettings() (Line: 178)
Drupal\Core\Extension\ExtensionDiscovery->scan('module') (Line: 148)
drupal_required_modules() (Line: 1126)
install_profile_info('wxt', 'en') (Line: 1548)
install_load_profile(Array) (Line: 473)
install_begin_request(Object, Array) (Line: 122)
install_drupal(Object) (Line: 44)

Additional

Drupal\Core\Extension\Exception\UnknownExtensionException: The profile lightning does not exist. in Drupal\Core\Extension\ExtensionList->get() (line 257 of /sites/intra/htdocs/wxt-8.x-2.214/core/lib/Drupal/Core/Extension/ExtensionList.php).

Drupal\Core\Extension\ExtensionList->get('lightning') (Line: 62)
Drupal\Core\Extension\ProfileExtensionList->getAncestors() (Line: 169)
Drupal\Core\Config\InstallStorage->getAllFolders() (Line: 109)
Drupal\Core\Config\InstallStorage->exists('core.extension') (Line: 103)
Drupal\Core\Config\FileStorage->read('core.extension') (Line: 130)
Drupal\Core\Config\FileStorage->readMultiple(Array) (Line: 165)
Drupal\Core\Config\ConfigFactory->doLoadMultiple(Array, 1) (Line: 104)
Drupal\Core\Config\ConfigFactory->doGet('core.extension') (Line: 89)
Drupal\Core\Config\ConfigFactory->get('core.extension') (Line: 221)
Drupal\Core\Extension\ThemeHandler->refreshInfo() (Line: 188)
Drupal\Core\Extension\ThemeHandler->listInfo() (Line: 63)
_drupal_maintenance_theme() (Line: 742)
drupal_maintenance_theme() (Line: 1040)
install_display_output(Array, Array, Array) (Line: 260)
_drupal_log_error(Array, 1) (Line: 602)
_drupal_exception_handler(Object)

image

Error exporting key_value_expire table

The key_value_expire table was somehow corrupted in our production environment and we are unable to export it to synchronize our development environments.

Can this cause any critical issues? Can we exclude it from our export, or truncate the table, without causing any issues?

It seems to only hold temporary work in progress:
"Typically, the PrivateTempStore might be used to store work in progress that is later saved permanently elsewhere, e.g. autosave data, multistep forms, or in-progress changes to complex configuration that are not ready to be saved."

Thank you

Release v3.0.3

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

Release 8.2.17

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • dockerhub updated
  • helm updated

Release v3.0.0-rc2

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated

Release v3.0.2

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

Drupal console site:install results in configuration error (system.theme).

Hello
Every time I try to do a site install using Drupal console or otherwise I end up with the following error:

$ drupal site:install wxt --langcode="en"

...
...

Starting Drupal 8 install process

[ERROR] Configuration objects (system.theme) provided by system already exist in active configuration

Any known fix?

attempt to install drupalwxt results in: proc_open(): CreateProcess failed, error code - 267

hello,

I'm new to Drupal and Drupalwxt -- attempting to install this so our group can try this out. presently running on Windows 10, installed php-7.4.2-Win32-vc15-x64.zip and composer straight from the website (currently at 1.9.3).

when I attempt to run composer create-project drupalwxt/wxt-project:3.0.2 MYPROJECT --no-interaction to start a new project I now get:

[ErrorException]
proc_open(): CreateProcess failed, error code - 267

would you have any suggestions to resolve this?

thanks

Release v3.0.1

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

Final RC Release 3.0.0-rc3

See the full release documentation for more detail.

  • All related projects (wxt_library and wxt_bootstrap) tagged and released on GitHub.com and Drupal.org
  • Version number selected
  • Changelog updated
  • composer.json + drupal.org makefiles updated
  • Travis CI and Drupal.org builds pass
  • Releases tagged and pushed to GitHub.com and Drupal.org
  • Tarball for GitHub.com generated
  • WxT released (https://github.com/drupalwxt/wxt/wiki/Release-process#release)
  • site-wxt updated
  • wxt-project updated
  • Docker images generated + push to docker hub
  • helm-drupal updated
  • terraform-kubernetes-drupalwxt updated

Composer install

Hey guys... if I run
composer create-project drupalwxt/wxt-project:8.x-dev MYPROJECT --no-interaction
I get Drupal WxT 8.5.6 ??

Also, I get a notice about react
Package react/socket-client is abandoned, you should avoid using it. Use react/socket instead.

Internal pages on the WxT Drupal wiki redirect infinitely

(Moved from wet-boew/wet-boew#8174)

Hi, Was just checking out the Drupal integration of WET, and while the homepage loads fine, I found that if I click on any link to an internal page, it tries to redirect to itself.

Example link: http://wiki.drupalwxt.org/pages/roadmap

HTML returned:

<!DOCTYPE html>
<html>
	<head>
		<title>Road Map</title>
		<meta http-equiv="REFRESH" content="0;url=/pages/roadmap">
		<link rel="canonical" href="/pages/roadmap" />
	</head>
	<body>
		This page has moved. You will be automatically redirected to its new location. If you aren't forwarded to the new page, <a href="/pages/roadmap">click here</a>.
	</body>
</html>

Tarball installation issue with wxt8.x-2.212

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /wxt-8.x-2.212/core/install.php?rewrite=ok&profile=wxt&langcode=en&id=1&op=do_nojs&op=do
StatusText: OK
ResponseText: Error: Class 'phpDocumentor\Reflection\DocBlockFactory' not found in Drupal\lightning_core\UpdateManager->__construct() (line 87 of /sites/intra/htdocs/wxt-8.x-2.212/modules/contrib/lightning_core/src/UpdateManager.php).

Language Detection and Selection warning with loss of language toggle

In Language Detection and Selection after deselecting Detection Method = URL (in order to use Browser language detection) there is a loss of language toggle on site pages and the following warning is displayed:
"Warning: Attempt to modify property 'links' of non-object in Drupal\wxt_library\Plugin\Block\LanguageBlock->build() (line 154 of modules\custom\wxt_library\src\Plugin\Block\LanguageBlock.php). "

Release = 2.2.14
Theme = WxT Usability or Canada.ca (others not tested)
php = 7.1

I did some debugging but I am not sure what it the code is supposed to do. (my comments)

Code snippet from affected code
// Don't show current language in toggle. ***(Is the loss of language toggle by design?)
$toggle = FALSE;
foreach ($config['language_toggle'] as $enabled) {
if ($enabled === $wxt_active) {
$toggle = TRUE;
}
}
($enable=0, $wxt-active = "theme-gcweb")

if (!$toggle) {
  unset($links->links[$language]); ***(Line 154 $toggle = FALSE, $links=null)****
}

When Detection Method = URL deselected
$links= null (causes the error)

When Detection Method = URL selected (no error)
{#6724 ▼
+"links": array:2 [▼
"en" => array:5 [▼
"url" => Url {#6455 ▶}
"title" => "English"
"language" => ConfigurableLanguage {#6444 ▶}
"attributes" => array:1 [▶]
"query" => []
]
"fr" => array:5 [▼
"url" => Url {#5341 ▶}
"title" => "French"
"language" => ConfigurableLanguage {#6527 ▶}
"attributes" => array:1 [▶]
"query" => []
]
]
+"method_id": "language-url"
}

$config
array:6 [▼
"id" => "wxt_language_block:language_interface"
"label" => "WxT Language switcher"
"provider" => "wxt_library"
"label_display" => "visible"
"wxt_theme" => false
"language_toggle" => array:6 [▼
"theme-base" => "theme-base"
"theme-ogpl" => "theme-ogpl"
"theme-wet-boew" => 0
"theme-gcwu-fegc" => 0
"theme-gc-intranet" => 0
"theme-gcweb" => 0
]
]


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.