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

Change "pattern" to "path" in *.routing.yml files

Yes, we're well past API freeze. That said...Tonight I was futzing around with Symfony because what else are you going to do when you have insomnia? I discovered that all of the examples from the...

View Article


pass $has_data as a param to ConfigFieldItem::settingsForm()

Coming from #2015691: Convert field type to typed data plugin for number module - #13 to #15.We're trying to make FieldItem classes as agnostic as possible about configurable fields / base fields, and...

View Article


Make existing ConfigFieldItem subclasses usable by base fields

As per #2015693-11: Convert field type to typed data plugin for link module :"The goal is to make our FieldItem classes be usable for configurable fields (that can be added through the UI) as well as...

View Article

Unable to remove default image from image field/instance

Updated: Comment #1Problem/MotivationImage field allows site administrator to define default image on field and/or instance level. file_managed Form API element is used to provide this functionality....

View Article

Expand phpunit tests for \Drupal\Component\PhpStorage

Task to expand phpunit coverage for the \Drupal\Component\PhpStorage classes.See #1938068: [Meta] Convert UnitTestBase to PHPUnit.

View Article


Error notice in locale modules implementation of hook_preprocess_HOOK

Problem/MotivationAfter enabling the locale module (8.x:4ac864574567c9cf8c32b5740a2d7a1112a99bf1), A series of errors are thrown, copied below:Notice: Trying to get property of non-object in...

View Article

syntax error in update_manager_update_form()

This is a direct copy of benjifisher's D8 issue #1863388: syntax error in update_manager_update_form(). The issue in D8 is revolved by moving to the new form interface, however the problem is also in...

View Article

Expand and convert to phpunit tests for \Drupal\Component\Transliteration

Task to convert tests for \Drupal\Component\Transliteration to phpunit, and also expand test coverage.Since part of the existing tests test the core override...

View Article


check_plain warning in dblog

Every time I open "Recent Log Messsages" I get one or more of these warnings.Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1565 of...

View Article


Various registry functions refer to listing classes and functions, but really...

API page: https://api.drupal.org/api/drupal/includes%21registry.inc/function/_regi...Enter a descriptive title (above) relating to function _registry_parse_file, then describe the problem you have...

View Article

Bulk node deletion results in database inconsistency

I dared to open the issue here because the community should be aware of the problem I faced when deleting several hundreds of nodes using Drupal's standard content management interface. However, the...

View Article

Implement LocalTask plugins for Edit and delete tabs in contact module

part of #2040105: [meta] Implement LocalTask plugins for previously converted routesfollow-up to #2004334: Separate Tabs (MENU_LOCAL_TASK) from hook_menu()The Edit and delete tabs need to be converted...

View Article

Define a mechanism for custom link relationships

Problem/MotivationWe now have a way for Entities to define link relationships they support; the most notable is canonical, but it can define any other IANA-defined relationship. We then automatically...

View Article


Expand phpunit tests for \Drupal\Component\Utility\Unicode

Task to expand test coverage for \Drupal\Component\Utility\Unicode.See #1938068: [Meta] Convert UnitTestBase to PHPUnit.

View Article

Get rid of field_get_items()

It's now totally superseded by the new Entity API and it's support for field language.field_get_items($entity, $field_name, $langcode) --> $entity->getTranslation($langcode)->$field_name...

View Article


Block visibility control by hook

As we know that we have facilities to control block visibility by PHP code. Here we can create hook for this purpose and control from hook.

View Article

Document that caches should be cleared after calling field_attach_update()

There have been a number of cases where contrib modules call field_attach_update() to update field values without saving an entity. This leads to stale caches unless the contrib module manually resets...

View Article


Reuse the link generator to provide a Drupal::link() function

Copied from #2047619-15: Mark l() as deprecated and add a function like rl() for route-based links Might be better as a follow-up, but it would be cool if we could add a Drupal::link($text, $route,...

View Article

Fatal error: Cannot access empty property in modules/field/field.attach.inc...

Fatal error: Cannot access empty property in modules/field/field.attach.inc on line 324I get this error when block rendered by views starts loading. Error is only on front page. Line 324 of...

View Article

AnnotatedClassDiscovery::getDefinitions is critically slow when viewing nodes...

AnnotatedClassDiscovery::getDefinitions takes 8-17 s (!!!) when viewing 50 nodes with up to 4 comments.XHProf Link:http://www.lionsad.de/xhprof-kit/xhprof/xhprof_html/?run=51f3790f24ac9&s...Steps...

View Article
Browsing all 294944 articles
Browse latest View live


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