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

'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 Article


Upgrade 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 Article


Entity 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 Article

Ensure 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 Article

Entity 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 Article


Augment 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 Article

Export 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 Article

Unable 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 Article


JQuery 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 Article


Error 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 Article

Move 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 Article

Media 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 Article

Existing 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 Article


JsOptimizer 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 Article

using 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 Article


There 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 Article

Use 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 Article


Node 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 Article

latestRevision() 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 Article

Make 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
Browsing all 294233 articles
Browse latest View live