Quantcast
Channel: Issues for Drupal core
Browsing all 294802 articles
Browse latest View live
↧

Using breakpoints.yml defined media queries in libraries.yml

I understand breakpoints are being used by the Responsive image features, but when I first started theming I was incredibly confused as to how to use the breakpoints I defined in my breakpoints.yml...

View Article


Decide what to do with the BC css class from the Views UI

Follow-up to #2849954: Double underscores are not preserved in main views CSS classes defined in views UIProblem/MotivationIf set "my__class" value via Views UI (Edit View > Advanced > CSS) this...

View Article


#states required is not working in form API

Hi There,I want to use dependant text field with checkbox in drupal form.I am using form #states with required, but form gets submitted without validating the text field.Please check below...

View Article

Double underscores are not preserved in main views CSS classes defined in...

Problem/MotivationDrupal’s CSS coding standards recommend a naming convention for classes which requires the use of double-underscores as separators in certain cases (BEM). However, when using the...

View Article

"Unfiltered Text" header/footer stripping iframes

Views "unfiltered text" headers/footers strip iframes prior to rendering the text. This goes contrary to the description which reads "Add unrestricted, custom text or markup. This is similar to the...

View Article


Use drupalci.yml for composer dependency min/max testing

Problem/MotivationEventually, DrupalCI will give us a way to tie different build processes to different needs, using the idea of 'triggers.'One such build trigger will likely be a dependency min/max...

View Article

Entity Links fields does not have translation support

Problem/MotivationThe Entity link field uses the wrong translation of the entity. It always uses the original language which is not always desired. This applies to both deletion and editing. You can...

View Article

Should field_layout treat a region as empty if all fields in that region are...

I've got a template like this:{% if content %} <div{{ attributes.addClass(classes) }}> <div class="layout-region layout-region--main col-sm-8"> {{ content.main }} </div> {% if...

View Article


Risky count() in SQLite Statement

In Drupal\Core\Database\Driver\sqlite\Statement::getStatement we have the following: protected function getStatement($query, &$args = []) { if (count($args)) { // Check if $args is a simple numeric...

View Article


Xss::filterAdmin() incorrectly filters time elements

Tested this with 8.0.5, ran into this with Views field rewriting when using a custom Twig function that returns a custom 'Time' element. The Twig function works well enough in a template, but Views has...

View Article

The driver parameters are not loaded properly when specifying the webdriver...

According to the document at /core/tests/README.md, we could force all BrowserTestBase (including legacy JavascriptTestBase) tests to use webdriver by setting the value of MINK_DRIVER_CLASS. While the...

View Article

Add a DataType normalizer for layout_section

Problem/MotivationWhen accessing Layout Builder overrides via REST (i.e. when accessing an overridden entity's layout field), the contents of sections appear empty.Proposed resolutionWe should add a...

View Article

Don't allow placing a Custom Block in the layout override for itself or...

Problem/MotivationSteps to reproduceCreate a custom "basic block" titled "Test block"Place the blockgoto "Manage Layout" for the "Basic Block" block type.Add "test block" to the layout.Goto any page...

View Article


Image may be NSFW.
Clik here to view.

Link to contact form in user account and e-mails leads to 403.

Problem/MotivationVisiting one's own contact form produces a 403 Access denied error, confusing users into believing the site is broken.Contact form settings checkbox description text contains a link...

View Article

Image may be NSFW.
Clik here to view.

Date field - "Leave blank to use the time of form submission." is...

I've found a couple of confusing experiences with date/time fields, in terms of what happens if it's required and/or populated:Scenario 1: RequiredCreate a date/time field on a content type; set it to...

View Article


Match setup() functionality of MigrateFileTest with MigratePrivateFileTest

Problem/MotivationWhile working on #2505283: Handle import of private files a number of faults were discovered in Drupal\Tests\file\Kernel\Migrate\d7\MigrateFileTest. These faults are being corrected...

View Article

MenuLinkParent breaks migration when Parent URI is external

Problem/MotivationMigrating from a drupal 6 site and get this error: [error] The internal path component 'https://example.com/publications.html' is external. You are not allowed to specify an external...

View Article


Activity Tracker module does not allow to prevent anonymous users from seeing...

Problem / motivation The core tracker module is a really useful module that enables tracking of recent content for users. The main problem is that the most of times we want to enable and allow just...

View Article

Taxonomy terms seem useless when used with media module

I have created a view to show my media entities (image gallery). I have added some taxonomy fields to my media images. When I click on the taxonomy links I would expect media tagged with those terms to...

View Article

Testing framework does not work with contributed database drivers

Problem/MotivationThe testing framework is unable to use contributed drivers for KernelTests and FunctionalTests because when calling PHPUnit it passes the connection URL, and there is no available...

View Article
Browsing all 294802 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>