New anti-DoS measure breaks for some file URIs
Just applied Drupal 7.20 this morning and immediately noticed an issue. Some of our derived images are getting Access Denied. I walked through what's happening and in the generation of the token the...
View Articleexisting images after update to drupal 7.20
Hi! I have update my test env to drupal 7.20. Some images are break and some are not. Images putted in wyswigy editor by media module explorer are working, but images inserted by e.g. insert module are...
View ArticleFix code example that referes to non-existent function in...
This comment and commented out code is just weird... /**  * Executes the aggregate query.  *  * @return array  *  A list of result row arrays. Each result row contains the aggregate  *  results...
View ArticleNew anti-DoS measure breaks displaying images in WYSIWYG content
Setup: In our install we have content created with CKeditor (7.x-1.12) containing images uploaded by Media module (7.x-2.0-unstable7) inside the WYSIWYG editor. This leads to the full URL to the image...
View ArticleNode creation test fails on PHP 5.4
Runing node core tests on PHP 5.4.6-1ubuntu1.1 this test fails:"Rollback explanatory error logged to watchdog."Located in NodeCreationTest.php file, testFailedPageCreation() function.Using mysql-server...
View ArticleAnonymous Users as Entities and related issues
In the course of writing a user role condition plugin I stumbled upon the fact that in D8 users are STILL stdClass() objects. This is unacceptable from a purely cleanliness standpoint, but also no user...
View Articlenode_type_set_defauts has typo in documentaion
It says "@see hook_node_ifo" I couldn't find a hook_node_ifo. Assuming typo for hook_node_info
View ArticleMove use statements below file block comments
Follow up of #1903750: Convert menu_link hooks to use Type-Hinting to tidy up the user modules comments.
View ArticleRemove param and returns from hook implementations
Follow up of #1903750: Convert menu_link hooks to use Type-Hinting to clean up the menu_test.module hook implementations.
View ArticleMake sure tour toolbar button has :focus styling when tabbed to.
Follow up for #1809352-175: Write tour.module and add it to coreProblem/MotivationTour toolbar item was changed from link to button, but :focus class/styling not present for keyboard users.Proposed...
View ArticleImprove dependency handling in service destructor
Follow-up of #1891980: Add Service termination API to reliable terminate/shut down services in the containerRight now, we have no dependency detection during service destruction.Services that need...
View ArticleProvide a method for end users to be notified on new/update tips.
Follow up for #1809352-175: Write tour.module and add it to coreProblem/MotivationAs identified by sun in #1809352-62: Write tour.module and add it to core item 2. We want end users to be notified of...
View ArticleNeed DRUPAL_ROOT in file_scan_directory
I have an external PHP script that bootstraps Drupal, and that lives in a subfolder of my Drupal install dir.After bootstrapping, this script runs some functionality that depends on...
View ArticleSupport serialization in hal+json
Problem/MotivationAs explained in Proposing an alternative to application/vnd.drupal.ld+json, the new plan is to use HAL as the primary format for REST. First we'll need to decide how to serialize an...
View ArticleFatal error: Class 'Drupal\Core\Database\DatabaseNotFoundException' not found
Steps to reproduce:Create a new instance without a database already created.Start a new instance, using a name of the database with a '-'. Database is created, dropping the '-'; ie: d8-2 becomes...
View ArticleRename old CSS constants to CSS_AGGREGATE_* and add new CSS weight constants
Problem/MotivationOur current CSS aggregation strategy normally uses 4 different aggregate files (though theoretically, it could use up to 6 separate files.) That's too many files. We can get that down...
View ArticleOn registration validation error do not force the user to reenter password
Save the password in session, display a bunch of stars and if the form doesn't contain any password then replace the one from session and on save delete from session. Not too hard but really is useful.
View ArticlePDOException: SQLSTATE[42S02]: Base table or view not found on Cron Run
We use Feeds and Feeds SQL to import data to Drupal from a mysql database. The credentials of the other database are written in settings.php file, so Feeds SQL can see it. On cron run, feeds fetches...
View ArticleReplace function_exists() with is_callable() in batch api finished callback.
Currently i am not able to wrap my batch operations in a class(which is very often the use case) because of this in batch.inc:if (function_exists($batch_set['finished'])) {If we change this toif...
View ArticleMethod \Drupal\Core\SystemListing::scan not see modules in profile folder
This is the reason why I can install modules from profile sub folder 'modules' (profiles_name/modules/profile_module_name), but this condition "if ($data = $this->moduleData($module)) {" never will...
View Article