module_enable() silently fails if a module isn't in the file system
Let's say you enable three modules in module_enable().If one of them isn't in the file system, this is what happens: if (!isset($module_data[$module])) { // This module is not found in the...
View ArticleUse request upcasting functionality in edit module
ProblemEdit module uses a custom made-up way to upcast URL arguments from the request. Drupal core got standard upcasting features in the meantime in #1798214: Upcast request arguments/attributes to...
View ArticleStoring aggregated CSS and JS cache files outside of public://
I'm trying to solve for a scenario and have a mostly working solution and was hoping you guys could help.Problem: We wish to hold aggregated css cache locally while retaining everything else externally...
View ArticleFactor Create.js and VIE.js out of the Edit module
Problem/MotivationWhile working on #1678002: Edit should provide a usable entity-level toolbar for saving fields, it became more apparent that our Create.js/VIE.js architecture in the Edit module would...
View Articleupdate.php don't work under Strato Hosting
My English is not very well, sorry for that!I and some other German Strato-User have the Problem, that the update.php don't work. First time we get the bug was at the 13th of April. German community:...
View Article[meta] Creating Dream Markup
There are three major Drupal initiatives that change the markup:Mobile and HTML initiatives - CSS clean up #1921610: [Meta] Architect our CSS and #1089868 CSS CleanupTwig initiative - Drupal 8 Twig...
View ArticleAdd description to "Administer content" permission
Problem/MotivationIt's not self-evident what a permission called "Administer content" includes.Proposed resolutionI think it needs a description to explain its effects and how it differs from other...
View Article"Formats" page needs a more descriptive name
Problem/MotivationThe title "Formats" for the page at admin/config/regional/date-time doesn't adequately convey the significance of the page. By itself it means almost nothing. Add the context of the...
View ArticleClear All feature for multi-value fields
Please implement a Clear All button for multi-value field, that would remove all deltas. It is so basic that I'm wondering why it' not there next to "Add another item". I'm posting this for 8.0 but I...
View Articleimage_update_8001() should not drop tables
As per #1860986: Drop left-over tables from 8.x - patch upcoming
View ArticleImprove documentation of module_uninstall()
API page: http://api.drupal.org/api/drupal/core%21includes%21module.inc/function/m...The code docs for module_uninstall()() need improvement. They have at least the following issues:They don't indicate...
View ArticleCannot add menu link!
I created a new menu and tried to add a link but I keep getting the following error message:Notice: Undefined offset: 1 in menu_edit_item_submit() (line 426 of...
View Article"Search" is cut off in the button in IE10
In Chrome and Firefox, the search button contains an image of a magnifying glass. In IE10, the button instead contains the word "Search," but it's cut off after the "r," meaning the user only sees...
View ArticleQuiz?
I am trying to make a quiz to help people find their perfect Linux distribution match. Sadly, the current Quiz module does not support the kind of quiz I need as far as I know. The user would select...
View Article[documentation or bug] drupal_flush_all_caches() does not clear...
Problemdrupal_flush_all_caches() clears the persistent/database cache of the schema but not the static cache. Thus, if the schema changes within a request, you do not only have to call...
View ArticleUse cachetags to invalidate block definitions
Currently we have this:<?phpfunction menu_menu_delete(Menu $menu) { menu_cache_clear_all(); // Invalidate the block cache to update menu-based derivatives. if (module_exists('block')) {...
View ArticleEntity Controller/Handler as a service
Problems / Motivations#1909418: Entity Controller/Handler Injection Brings good ideas in term of object encapsulation but instantation of components is still done the old way (through "isset" and "if"...
View ArticleFatal error: Class 'plugin.manager.block' not found in...
I was testing the latest dev over at simplytest.me and I got this while typing in the search field in the add blocks form (/#overlay=admin/structure/block/list/block_plugin_ui%253Abartik/add):An AJAX...
View ArticleEntityManager::getControllerClass() throws confusing exceptions
This is a follow-up to #1807042: Change notice: Reorganizie entity storage/list/form/render controller annotation keys.The exceptions that are thrown by the entity manager can now be quite confusion to...
View ArticleHow submitting managed_file works?
I'm asking because I want to fix http://drupal.org/node/1957602So, managed file can be saved in 2 ways:File can be ajax-uploaded and form then submittedFile can be selected and form submitted without...
View Article