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

Expand FilterFormat with methods

Part of meta-issue #2016679: [Meta] Expand Entity Type interfaces to provide methods.See the detailed explanations there and look at the issues that already have patches or were commited.Add get*, set*...

View Article


Update module fails on installation

After standard installation, straight out of the box the status report says "Update notifications are not enabled." However the "Update Manager" checkbox on the module admin page is checked. Pressing...

View Article


Remove 'not null' => TRUE from field item schemas

Updated: Comment #0The status quoTaken over from Drupal 7's hook_field_schema(), almost all implementations of \Drupal\Core\Field\FieldItemInterface::schema() specify 'not null' => TRUE for some of...

View Article

Allow NestedArray::mergeDeepArray() to preserve integer keys

Problem/MotivationConfiguration files make use of keys such as "404". When ingesting these values into an array PHP will automatically cast these keys to integer types. The default behaviour of...

View Article

Changes to the Language class due to the LanguageInterface (followup)

Updated: Comment #NProblem/MotivationIn #1497230: Use Dependency Injection to handle object definitions we introduced a basic Language class to keep backwards compatibility with stdClass. In order to...

View Article


LocalTaskManagerTest only works because we mock a non existing method

The LocalTaskManagerTest is only working because of:    $this->manager = $this      ->getMockBuilder('Drupal\Core\Menu\LocalTaskManager')      ->disableOriginalConstructor()...

View Article

ConfigManager should use interface for translation manager type hint

ConfigManager's constructor incorrectly ties itself to the TranslationManager class instead of the TranslationInterface.

View Article

Document that PluginFormInterface should use #process to solve nesting issues

Problem/MotivationPluginFormInterface enables a plugin to be used as a part of a larger form. It is best practice for the parent form to assign the plugin's sub-form into a single array...

View Article


file_public_path in settings.php not used during install?

On a clean install of Drupal 8, when I try to change the file_public_path variable in my settings.php to something else than sites/default/files (eg: just 'files' in the root), the installer won't...

View Article


Drupal does not use site directory during install process

I've created a local directory sites/dev.sitename.com with a settings.php, a services.yml and the local.settings.php file. During the install process, Drupal fails with the errorThe Settings file does...

View Article

Documentation in ConfigDependencyManager conflates plugin dependencies and...

* Classes for configurable plugins are a special case. They can either declare * their configuration dependencies using the calculateDependencies() method * described in the paragraph above, or if...

View Article

error occurred while attempting to process /Drupal/... undefined is not a...

When a form is loaded into a modal, its elements with properties like:'#submit' => array(array($this, 'submitForm')),or'#ajax' => array( 'callback' => array($this, 'submitForm') ), will not...

View Article

PHP Fatal error: Call to a member function get() on a non-object

Hi,I git pull'd drupal 8 5 minutes ago, and I got this error PHP Fatal error:  Call to a member function get() on a non-object in my logs.Regards,

View Article


Add methods to manage enforced dependencies

In #2224581: Delete forum data on uninstall we're adding the ability to enforce configuration entity dependencies. This issue will add methods to add and remove enforced dependencies. It will also...

View Article

I can not uninstall Classy theme

I enabled Classy theme and set default, after that I enabled Bartik to default and tried to uninstall Classy, but i see an error page, and I find a bug in php.log [02-Oct-2014 12:42:35 Europe/Berlin]...

View Article


Use inverted comma for sql statement generation from annotations in core

Problem/MotivationCreated an entity with the basetable name "group". Got MySQL error several times. However, my module was fully working. What i noticed is that the error comes from the entity...

View Article

Change error reporting to suppress PHP 5.4 Strict Warnings, with 5.3 backward...

My company has recently tried patch all our Drupal 6 sites to be compatible with PHP 5.4As E_STRICT has now become part of E_ALL we were receiving a lot of strict warnings, mostly for Views.In order to...

View Article


HTTP header date formats

Problem/MotivationDrupal is using gmdate to generate the Last-Modified header in RFC1123 format.gmdate(DATE_RFC1123, ... Resulting in code matching the following example.Last-Modified: Tue, 12 Feb 2013...

View Article

Image may be NSFW.
Clik here to view.

Duplicate Maintenance Mode messages when running update.php

When running update.php via the interface, I get 3 times the same message "Operating in maintenance mode".

View Article

Error: Additional uncaught exception thrown while handling exception

I get this error message at my fresh D8 initial home page / install page:My system: PHP 5.5.13 Maria DB 5.5.5-10.0.12-MariaDB NGINX 1.6.1Additional uncaught exception thrown while handling...

View Article
Browsing all 293238 articles
Browse latest View live


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