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

Use $this->connection->query instead of db_query in...

Problem/MotivationTODO, see titleProposed resolutionRemaining tasksUser interface changesAPI changesData model changes

View Article


Cannot add more items to unlimited field after previewing created content

To reproduce.- Go to admin/structure/types/manage/article/fields to manage content type fields. - Click on 'Add field' button. - Add new field of 'Text(plain) field type. - Make sure field's...

View Article


If a custom beforeSubmit() function on a Drupal.ajax object returns false,...

I was working with a file upload field (<input type ="file" />) in a Webform form today, and noticed that clicking on the "Upload" submit input before I had selected a file didn't prevent the...

View Article

Update CKEditor library to 4.5.8

Update to CKEditor 4.5.8. http://ckeditor.com/blog/CKEditor-4.5.8-Released4.5.8 brings minor bugfixes.See also:#1858210: [meta] Content editing experience follow-ups — in-place editing and...

View Article

Cacheable Ajax response

Right now AjaxResponse doesn't implement CacheableResponseInterface. And as a result we can't set cacheability metadata. Need to improve drupal and add Cacheable Ajax response class.

View Article


Move all shortcut forms to \Drupal\shortcut\Form

Problem/MotivationShortcut module has some forms in \Drupal\shortcut\Form and some in \Drupal\shortcut directly. Other modules do this where they have entity forms in the module namespace directly and...

View Article

Array merge failure on line 153 of...

NOTE: A review of the issue queue and multiple efforts to search via Google did not turn up any relevant results to my issue. All issues that came up regarding this were from years ago and not relevant...

View Article

Fatal error when modules are declaring global string constants using t()...

Although a bad pattern, I recently saw this in a pre-release for a contrib module. If a module is defining a global constant like this (for example on the top of its module file):define('MY_GLOBAL',...

View Article


Remove core's parameter typehints of CacheableMetadata within interfaces...

If we want to do #2561773: CacheableMetadata is misnamed in 8.2, then we should stop parameter typehinting on CacheableMetadata in 8.1, in order to minimize disruption. See also #2561773-47:...

View Article


Minor clean-up of \Drupal\ckeditor\Plugin\CKEditorPlugin\Internal::getConfig()

\Drupal\ckeditor\Plugin\CKEditorPlugin\Internal::getConfig() duplicates logic from \Drupal\ckeditor\CKEditorPluginManager::getEnabledButtons(). We should just call that instead, rather than maintaining...

View Article

Add validation to ensure both width and height are provided in editor max...

Problem/MotivationIn the configuration of editor image settings panel(e.g. /admin/config/content/formats/manage/basic_html), The width and height in Maximum dimensions do NOT prompt Error if one of...

View Article

Bubbling of elements' max-age to the page's headers and the page...

Problem/MotivationWhen I set a certain block to be cached for up to e.g. 15 minutes, then I expect that the containing page also emits a corresponding header. And I also expect Drupal's page cache to...

View Article

CacheableMetadata is misnamed

Problem/MotivationFrom #2551907: Follow-up for #2483183: make the Breadcrumb value object use composition instead of inheritance :@yched :CacheableMetadata trips me up each time as implying that it is...

View Article


Drupal alerts "An AJAX HTTP request terminated abnormally" during...

Problem/Motivation (as of #269)The following error is frequently run into with Drupal. Per #215, it does not apply to D8.An AJAX HTTP request terminated abnormally. Debugging information follows. Path:...

View Article

Menu Access/Theme Callbacks: Allow Static Methods

Hi everyone, Static methods used as access callbacks in hook_menu() are currently blocked by the following line in menu.inc646 | elseif (function_exists($callback)) {Im recommending replacing this with...

View Article


MethodNotAllowedException on node view for admin

If we go to node view we receive non catchable MethodNotAllowedException. Step to reproduce: 1. Install module rest. 2. Install module language. 3. Install module page_manager(Seams that this step can...

View Article

drupal_render_collect_attached() loses data that is not accessible via the...

Problem/Motivationdrupal_render_collect_attached() was added to collect all assets that need to be render cached.However that function has several problems, all assuming a standard #pre_render / #cache...

View Article


Image may be NSFW.
Clik here to view.

Toolbar (vertical orientation) loses navigation state

When I navigate e.g. from "Structure" -> "Block Layout" (admin/structure/block) with the toolbar and then click on "Block library" the page reloads and the toolbar navigation resets to its...

View Article

Image may be NSFW.
Clik here to view.

"No test results to display" for kernel tests

Problem/MotivationWhen custom or contrib modules provide tests that use Drupal\KernelTests\KernelTestBase are run using the Simpletest UI or the core/scripts/run-tests.sh script, very strange behavior...

View Article

Ability to diff between two DrupalDateTime objects

Calling DrupalDateTime->diff() method doesn't work if you pass in another DrupalDateTime as it's first argument - it will always return false;for example:$a =...

View Article
Browsing all 300903 articles
Browse latest View live


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