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

Unregister registry-based autoload during unit tests

drupal_autoload_class() and drupal_autoload_interface() will crash if triggered during unit test runs, because no database is set up. We should temporarily unregister them during unit tests.Classes...

View Article


DX: Allow programmer to specify a different namespace (a.k.a classes under...

Problems/MotivationsThe lib/Drupal// convention is not suitable for everything, so the programmer has the option to change himself the namespace of its registered classes. This is easily done by the...

View Article


Decide whether/how to implement contextual links associated with the main...

Problem: - Views has contextual links that appear when a View is rendered as a page, and those contextual links appear to the right of the page title (the <h1> element), but the code Views uses...

View Article

Random test failures - The string cannot be saved

As suggested in #1893800-47: Something is very, very wrong with update.php / upgrade tests... demons suspected I filed separate issueI got random number of failed upgrade tests in...

View Article

defaults to in 1354 doc standards for optional args

The update to 1354 was a good reorganization and rewrite. During it, some of the long examples of @params were taken out. http://drupal.org/node/1354/revisions/view/2415402/2546068under (optional)...

View Article


types link is broken in 1354 doc standard

Prior to the nice reorganization of 1354, http://drupal.org/node/1354/revisions/view/2415402/2546068 string was an optional type and assumed if a type was not specifiedhttp://drupal.org/node/types is...

View Article

larger example putting it all together in 1354 doc standard

It would be nice to have a large example, putting together many of the aspects covered in 1354.

View Article

_drupal_get_last_caller: debug_backtrace may be empty after blacklist strips...

Battling something rather interesting in 6.x pressflow, which has backported some of 7.x's error handling.If the php library imap_open triggers a connection error, when drupal error handling, global...

View Article


Toolbar's CSS has too specific selectors

Problem/MotivationAn example: you want to have a toolbar tab that is initially hidden, and JS can make it available if some condition is fulfilled.Examples:contextual.module's "show pencils" toggle,...

View Article


Installing with SQLite on PHP 5.4.9 Gives Errors

I tried to install a fresh site using the SQLite database driver, and got the following errors:Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition() (line 75 of...

View Article

Convert translation metadata into regular entity fields

In #1810370: Entity Translation API improvements we agreed that entity translation metadata should be considered regular translatable (non-configurable) fields and as such should be stored in the...

View Article

Twig implementation: passing array to set tag creates a TwigReference object

Problem/MotivationTwig's set tag can be used to set variables within the context of a template. This can be useful in many cases, for example passing arguments to t().Without set tag:<p...

View Article

EntityFormController::submit() returns an unrenderable $entity depending on...

Spin-off from #501428-143: Date and time field type in core. If a module implements hook_field_load() to add something that later functions (e.g., formatters) expect to be there (for example, in the...

View Article


why would tests fail after changing case of link

why would tests fail after changing case of linkpatch coming.

View Article

clickLink() is case sensitive despite it should be insensitive

Follow up for #1916892: why would tests fail after changing case of linkProblem/MotivationclickLink() api says it's case insensitive. but it's not.Proposed resolutionupdate docsRemaining taskspatch...

View Article


Add vendored copy of phpunit

Attached patch adds the phpunit library only, in the interest of simplifying #1901670: Start using PHPUnit for unit tests.The composer.json is pointed to a fork on my github which is necessary to...

View Article

Add checkbox in installer to enable content translation (if in foreign language)

Problem/motivationAs found with multiple participants in http://groups.drupal.org/node/274458 and before in discussions, some people assume they set up a multilingual site while others assume they set...

View Article


Add support for "accepts" attribute for file upload FAPI elements

Problem/Motivation"accepts" attribute allows us to specify file types that can be uploaded via element. This enables some extra client-side validation of uploads and improves UX. Attribute is supported...

View Article

Improve the comments on EntityBCDecorator

Problem/MotivationReference Issue: #1810330: Move EntityTranslationControllerInterface::removeTranslation() into EntityInterface comment #15 In \Drupal\Core\Entity\EntityBCDecorator, 30+ functions all...

View Article

drupal_parse_info_format crashes with PCRE 8.12

During a cache clear, .info files are parsed by drupal_parse_info_format using preg_match_all. The expression used triggers a bug that exists in PHP5.3.13 (PCRE version 8.12), at least under Windows....

View Article
Browsing all 291020 articles
Browse latest View live


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