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

getAliasByPath does not respect language if path not in whitelist or if no...

In AliasManager.php on lines 198, 231 and 248 (Drupal 8.1.1 src -- line numbers might differ in other versions), there's return $path.This happens in certain cases, for example, if the path has no...

View Article


How do you add schema for every config bundle entity type

Problem/MotivationThe workbench moderation module adds configuration for every bundle config entity using the third party mechanism. Sadly there is no way to add config schema, as the...

View Article


Notice: Undefined property: stdClass::$fid in file_usage_add() (line 689 of

Hi,I am using field collection with entity translation image field and I am getting below error:Notice: Undefined property: stdClass::$fid in file_usage_add() (line 689 of...

View Article

The documentation should be more explicit about PHPUnit requesting the...

Problem/MotivationWhen running functional tests with a different user from the one that is running your webserver, an exception can be thrown and cause confusion.1)...

View Article

Configuration system doesn't allow importing a single item from a...

Problem/MotivationConfiguration system doesn't allow importing a single item from a non-default collection. Given minimal Drupal installation with config and locale modules installed. Let's add new...

View Article


Allow setting #attributes for form select options

Currently there is no way for adding #attributes for form select element options without a custom theme and doing it in the theme layer. More complex javascript front-end implementations require...

View Article

Consider removing the cache in variable_initialize()

The current implementation has two apparent problems:Variables are cached in all cases, even when the default (database) caching is in use, in which case, they are simply copied from {variables} to...

View Article

Bypassing language/translation with t()

Hi, After running a XHProf across a site I seen that there were a large number of calls to t(). After digging into the function, it seems all calls are running through the translation even if the...

View Article


REST: top priorities

I spent last week triaging the REST module issue queue, to identify the top priorities for REST to support all use cases, and to be less painful to use. This is what I came up with.Any use case (fully...

View Article


drupal_get_form on Ajax callback returns this javascript error: “TypeError:...

Given this code:/** * Implements hook_form_FORM_ID_alter(). */ function store_form_uc_product_add_to_cart_form_alter(&$form, &$form_state, $form_id) { $form['actions']['submit']['#ajax'] =...

View Article

PluginFormInterface must have access to the complete $form_state (introduce...

Problem/MotivationPluginFormInterface allows plugins to build their own forms. It accepts form elements and the form state.The interface does not clearly document the form state is the complete form's...

View Article

Remove REST's resource-and-verb-specific permissions for EntityResource,...

Problem/MotivationFacts for Drupal 8.0 & Drupal 8.1's REST:REST module's EntityResource respects Entity Access & Field Access.REST module requires every entity type to be explicitly enabled in...

View Article

Image may be NSFW.
Clik here to view.

Improve the UX of Quick Editing images

Problem/MotivationThe Image Insane sandbox module implements a really nice UI for uploading and changing images.See the demo video: http://vimeo.com/112753990Twitter conversation:...

View Article


Image may be NSFW.
Clik here to view.

On the "Manage fields" page, show a visual indication when a field...

Would be useful to have this information on this screen.I guess part of the code would need to get inserted in FieldConfigListBuilder::buildRow(). However, any HTML entered here gets escaped further...

View Article

_user_mail_notify() always sends emails when user is activated

ProblemSetting notify to FALSE on "status_activated" doesn't block _user_mail_notify() to send the email.function _user_mail_notify($op, $account, $langcode = NULL) { // By default, we always notify...

View Article


Upgrade random_compat to latest version

Right now paragonie/random_compat is using the 1.x branch in core but for modules like real_aes it has becomes an issue because it needs the 2.x branch and trying to install it using composer results...

View Article

Allow plugins to provide multiple forms

Problem/MotivationAs a part of #2753937: Move simplified "configure blocks" form into the off-canvas tray we want to be able to have a simplified form in the sidebar. See also #2729413: Open "Configure...

View Article


Image may be NSFW.
Clik here to view.

Allow removing a module's content entities prior to module uninstallation

Problem/MotivationReally similar to #874000: Automatically remove module's nodes upon module uninstallation, we want to automatically remove the content entities of the module upon the its...

View Article

Fatal error: __clone method called on non-object

Error appears when Aggregation is used and trying to use aggregation on field with reference (entity reference) to taxonomy entity.Fatal error: __clone method called on non-object in...

View Article

Automatically provide HEAD support when a REST resource supports GET

ProblemI'm having an issue trying to send a HEAD request to a D8 installation to verify the existence of a particular entity. A HEAD request to an existing (newly created) Node will always fail with...

View Article
Browsing all 297447 articles
Browse latest View live


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