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

[META] Split up and refactor MediaLibraryTest

Problem/MotivationMediaLibraryTest is, quite frankly, a mess.Its coverage is very extensive, but it is also extremely long and complicated, with a lot of repeated code, a few somewhat unreliable parts...

View Article


Exclude development libraries from templates' composer.json by default

On the production server, and as a site builder, you shouldn't need the development libraries. So I suggest that development libraries are not included by default in Drupal core. Also, in that way the...

View Article


Provide an example of how to manage robots.txt and .htaccess with Composer

Problem/MotivationUsers are encouraged to modify their .htaccess file directly in a comment in that same file; since this comment has been in place for a while, people are used to doing it....

View Article

Reconsider how defaultTheme is defined in file.module Functional tests

Problem/MotivationMost of the test classes under core/modules/file/tests/src/Functional are derived from either FileFieldTestBase or FileManagedTestBase. Both of those define their own static $modules...

View Article

New Custom Blocks are not added to Views Reference drop-down

So I have enabled the archive view and created my own custom block that will display certain news articles. I wanted to use layout manager to create a 2-column page with a 75-25 sizing ratio. the news...

View Article


Hardening: disable user picture field for anonymous users by default

Problem/MotivationFiles are Hard(tm). ;) Safely handling files is hard.Out of the box, core allows anonymous users access to upload files to your site via the user picture profile field. We probably...

View Article

Add support for additional protocols in Link field definition

Problem/MotivationThe link module only validates http and https, but not other scheme names such as git or ftp. In Drupal 7, the validation can be turned off, thereby allowing the input of other scheme...

View Article

Browser conditional comments broken

Problem/MotivationComing from fixing the CSS Variables po[ln]yfill for IE, i stumbled upon this:How to reproduce:* Want to add library CSS/JS browser-conditional like so:my_library: js:...

View Article


Drupal\contact\Entity\Message does not contain entity_key "id"

Hey there!I'm having a weird problem with Drupal\contact\Entity\Message-entities in Drupal 8.7.6.We are using multiple Contact forms with some extra fields added via field-module.Everything is working...

View Article


Improve external URL validation in many ways

Problem/MotivationWhile working in some issues I realized the need to improve UrlHelper::isValid()( in the file ./core/lib/Drupal/Component/Utility/UrlHelper.php The issues I've found:Punycode...

View Article

FileFieldWidgetTest fails on local sites running in a subdirectory

Problem/MotivationI have a local 8.8.x dev site. It lives at http://localhost/drupal-8_8 When I try to run core/modules/file/tests/src/Functional/FileFieldWidgetTest.php locally, it fails with 5 of...

View Article

Add a SECURITY.md explaining how to report security vulnerabilities properly

GitHub has recently started to make use of SECURITY.md files if present in the repository root. Many open source projects have since stared to have a SECURITY.md file explaining how to report security...

View Article

Menu system should redirect to the particular menu's link listing after...

Hi all, I just found one issue in menu configuration. When you add link to a menu, it was redirection to the menu type listing page. Actually, it should redirect to that particular menu links listing...

View Article


Image may be NSFW.
Clik here to view.

Drupal 8.8 on Postgresql 12

Hi,Tried to run drupal 8.7 on Postgresql 12beta1. It does not run, is version 12 supported ?Regards,

View Article

Replace 'gsw-berne' (Swiss German language) with 'gsw'...

Problem / MotivationThe wrong (by W3C) head hreflang="gsw-berne" HTML tag:<link rel="alternate" hreflang="gsw-berne"...

View Article


How to change "FIELD TYPE"?

I have a website for around 2 years. The website has a lot of data.Problem:- I have wanted to change "FIELD TYPE"?I have taken "Term reference" and I want "Entity Reference"Please help me this is...

View Article

Image may be NSFW.
Clik here to view.

Drupal 7 date fields with "todate" ("End date" in UI)...

Problem/MotivationThe Drupal 7 date module allowed the site builder to configure whether to collect an end date or not:(This is called 'todate' in the code.)For example, on my personal site, I have a...

View Article


comment_entity_storage_load() is too expensive on cold caches

Problem/Motivationcomment_entity_storage_load() attempts to optimize away a database query each time entities are loaded that don't have comment fields attached.Unfortunately when caches are cold -...

View Article

#size for Select field documentation is wrong

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...#size is currently representing the vertical number of lines.The following is false:#size: The size of the input...

View Article

Image may be NSFW.
Clik here to view.

UnmetDependenciesException when installing Drupal 8

Read this FirstIf you have been affected by this, read over the system requirements to be certain the platform on which you are installing meets them.Original ReportSome unknown system requirement or...

View Article
Browsing all 295557 articles
Browse latest View live


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