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

Error "PDOException" when adding content

hello, Here is my problem, when I try to add content I get this error message: So I can not add anything more!PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8' for...

View Article


Behaves badly when 'page callback' of hook_menu is not specified

When 'page callback' of hook_menu is not specified, Drupal shows the menu page as 403 Access Denied even if viewing it as an admin.This error is confusing because it is very hard to understand that it...

View Article


Refactor ConfigStorageController to use entity query

Follow-up from #1893442-9: Move BlockStorageController::loadByProperties() into ConfigStorageControllerProblem/MotivationConfigStorageController currently implements own methods to access config that...

View Article

Figure out how to deal with 'title/title callback'

Problem/MotivationAs seen on #1974408: Convert aggregator_page_source() to a Controller, routes defined via the route system does not have yet the concept of titles. Titles are not only needed for menu...

View Article

Allowed content types for books

There is a global setting which restricts content types which may be inserted into a book.Please make (among the global setting) per book settings for which content types can be inserted into a...

View Article


Edit should use the new drupalContextualLinkAdded event to cleanly instead of...

Title says it all.That event is being introduced at #1971108: Convert contextual.js to use Backbone (and support dynamic contextual links).From #2 of that issue: Essentially, I want to get rid of this...

View Article

Image may be NSFW.
Clik here to view.

Use "Shown|Hidden" instead of "Yes|No" for contextual links

Somehow I made the mistake in #1877376: Change notice: Improve Views UI text for the contextual links display setting of missing the actual UI improvement that was proposed. I propose that instead of...

View Article

Rename hook_entity_info()

Problem/MotivationIn D8, the @EntityType annotation has take over the role of D7's hook_entity_info().However, hook_entity_info() has been retained as a way for modules to provide default values under...

View Article


Reference to INSTALL.txt in system.module hook_requirements() should be...

During the install phase (install.core.inc), help references to INSTALL.txt use a link – <a href="@install_txt">INSTALL.txt</a>– while the status report in system.install does not. This...

View Article


Image may be NSFW.
Clik here to view.

Modal if no tour tip id or class is provided.

Follow up for #1920468: Write a tour for the first page after install showing extend and other thingsProblem/MotivationIf a class or id is not provided for a tip then we should assume that it is a...

View Article

[meta] Refactor template_preprocess()

This is a meta issue to track proposed changes to template_preprocess().Main motivations:Some of what template_preprocess() does no longer makes sense now that we are converting theme_*() functions to...

View Article

Add static caching to drupal_html_class()

Problem/Motivationdrupal_html_class() is called often enough that it can benefit from static caching.Proposed resolutionAdd static caching to drupal_html_class().Remaining tasksProfilingUser interface...

View Article

Lazy-load Attribute objects later in the rendering process only if needed

Problem/MotivationCurrently there is no way to know when HTML attributes arrays (i.e. attributes, title_attributes, content_attributes, etc.) should be cast to Attribute objects. template_preprocess(),...

View Article


taxonomy_get_parents_all doesn't work as (I) expected

With a taxonomy of this wayA1--A2.1  --A2.2--A3.1        --A3.2 Where the different levels are parents of a term, the function returns: A1 A2.1 A2.2 And my expectatios is to bring the whole tree.I've...

View Article

PDO exception when creating a new book page

I have an existing node of the book content type. This node was migrated from Drupal 5.x to Drupal 7.14. I noticed the page was not assigned to a book so I tried to create a book with this page at the...

View Article


Remove hook_entity_bundle_info()'s need for 'real path'

#1946404: Change notice: Convert forms in field_ui.admin.inc to the new form interface removed 90% of the Field UI 'admin' section of hook_entity_bundle_info(), leaving only 'real path', which is used...

View Article

Unwanted light pink background fill

I have been tearing apart the CSS on my website for a while but cannot figure it out.. Any time I create a new page (does not matter what content type, text format or theme) there is a light pink...

View Article


Replace field_ui_get_destinations() and field_ui_next_destination()

field_ui_next_destination() is only used by the "Manage Fields" forms, and they are similar enough to share a base class (added here). field_ui_get_destinations() is used three times (once for no...

View Article

add line-by-line comments to parts of the plugin system

http://www.drupal4hu.com/node/363 has a great explanation that goes some way to demystifying some of the new plugin system.It would be great if some of this explanation was added to the actual code, as...

View Article

WebTestBase->drupalPost() going in a loop when running simpletest on windows...

Environment:Windows7/PHP.5.4.4/

View Article
Browsing all 293360 articles
Browse latest View live


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