'resource' is a soft reserved keyword as of PHP version 7.0 and...
Hi, just as the title says: When you define a rest resource, you have to use the Drupal\module_name\Plugin\rest\resource namespace, however, "resource" is a soft reserved keyword in PHP7. See:...
View ArticleUpgrade path for RDF 7.x
Problem/MotivationWe need an upgrade path from D7 for the core RDF module.Remaining TasksWrite migrations, with tests, that cover:The rdf_mapping table. I'm not sure what its counterpart is in D8.Any...
View ArticleEntity Links fields does not have translation support
Problem/MotivationThe Entity link field uses the wrong translation of the entity. It always uses the original language which is not always desired. This applies to both deletion and editing. You can...
View ArticleEnsure that all field types return TRUE on equals() for the same values
Problem/MotivationThe introduction of hasTranslationChanges() and using it when validating entities introduced some problems with field types that don't return TRUE when they should.Before that, it was...
View ArticleEntity view/form mode formatter/widget settings have no translation UI
Problem/MotivationWe need to have all configuration that a user can define, which has translatable information on it, to be translatable in the Configuration Translation module's user interface.There...
View ArticleAugment coding standards for nested chained methods
Currently chained methods appear to be fairly dogmatically nested with 2 spaces acrossDrupal core in accordance with the coding standards.However, this leads to instances where the resulting code is...
View ArticleExport views in drpal 8
i have modified basic settings using hook. i need to put a url there producing json output.for this purpose i created a view. the path is /admin/sturcture/views. displays: Rest export (page_json/%)how...
View ArticleUnable to change menu items weight when the...
The trimmed version (crucial for this issue) of \Drupal\Core\Render\Element\Weight::processWeight() looks the following: if ($element['#delta'] <= $max_elements) { $element['#type'] = 'select';...
View ArticleJQuery UI Touch Punch not working because loaded before jquery.ui.mouse.js
The JQuery UI Touch Punch library does not work because it is loaded before jquery.ui.mouse.js.The JQuery UI Touch Punch documentation states that Touch Punch must be included after jquery.ui.mouse.js,...
View ArticleError in update db while updating from drupal 8.3.5 to drupal 8.5.5
After update the site to Drupal 8.5.5 it throws error likeSQLSTATE[42S02]: Base table or view not found: 1146 Table 'default_db.entity_name_revision' doesn't exist: UPDATE {entity_name_revision} SET...
View ArticleMove Media::save() logic into storage handler
Problem/MotivationThis is spun off from #2878119-116: Whether queued or not, update the media thumbnail and metadata before beginning the entity save database transaction:If you call $media->save(),...
View ArticleMedia entity in unpublished state can not be viewed by owner
Problem/MotivationI have just noticed that a Media entity in unpublished state can not be viewed by the owner which is weird. The only exception is when the owner has the "administer media"...
View ArticleExisting site redirects to core/install.php
Hi, I have multisites (3 sites) installation on my localhost and the production site with the same installation. Everything worked correctly, but yesterday I've decided to update the drupal modules and...
View ArticleJsOptimizer preg_replace gives null as return
Hi Drupal folks,Couple of moths ago i came across a rare issue with the JsOptimizer the generated .JS file was empty. After a few hours of debugging i came across the JsOptimizer::clean regex and saw...
View Articleusing formBuilder()->getForm() doesn't allow text_area to be passed...
I created a form that I wanted to be reusable. So I created the form below to imported it into a add form and a edit form. Please be aware I do have the validateForm, and submitForm function in my...
View ArticleThere was a problem getting update information
Hi, I'm really struggling getting this one site to update. The problem is that I can't find any errors anywhere. The only message I get is 'There was a problem getting update information. Try again...
View ArticleUse getDisplayName() for user names consistently
Problem/MotivationRealname module alters the display name, but at user/1234 the username is shown. This is incorrect.Tons of places in core that show the username, but need to show the users display...
View ArticleNode type: Default publishing option won't save as Published
Problem/MotivationPublishing options > Default options > "Published" checkbox won't enable. FWIW #1, it seems like a regression as far as I can tell -- Ilast week, I updated my site from 8.5.3 to...
View ArticlelatestRevision() very slow with lots of revisions
After upgrading to 8.4 we noticed a performance decrease on one of our sites. The page that is taking minutes to load is a multilanguage page with several field collections and revisions enabled.Some...
View ArticleMake service for field discovery for use in migrate entity derivers
Problem/MotivationIn contrib (and even in core itself), there is a lot of boilerplate repeated when a migrate deriver wants to add fields to an source migrate deriver. Let's make the code for...
View Article