Quantcast
Browsing all 297408 articles
Browse latest View live

Add ViewExecutable::getCurrentDisplayHandler and...

Problem/Motivation\Drupal\views\ViewExecutable::$display_handler and \Drupal\views\ViewExecutable::$displayHandlers should have corresponding methods, one could call.Once we do that, we can also mark...

View Article


Remove entity_load* usage for dynamic entity types

Parent Issue#2359437: [meta] Remove entity_load* family of functions usage from the code baseProblem/MotivationThere are case where dynamically typed entities are retrieved using the functional loader,...

View Article


alexpott's test issue

Helper issue for patches I'm working on

View Article

NodeStorage::loadByProperties should avoid adding node access query tags

Problem/MotivationLet's assume you havea) REST enabled for nodes b) a hook_node_grants() implementation running on your siteYou'll get gazillions of The controller result claims to be providing...

View Article

All content entities should extend RevisionableContentEntityBase

Currently in core there are only two revisionable entity types, Node and BlockContent. There are other issues (such as #2705433: Node should implement RevisionLogInterface) which look at making these...

View Article


callback_batch_operation() code still contains Drupal 6 code

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21fo...The code shown in that page still uses Drupal 6 placeholders for the query string. I am referring to this line,...

View Article

Default value for link text is not saved

The default value for "link text" is not being saved.I added a link field to a content type. The link field is configured with "Allowed link text" set to be required. Under Default Value, I entered...

View Article

Change content-types, comment-types, and block-types URLs

Problem/MotivationComment types are managed at :/admin/structure/comment and edited at/admin/structure/comment/manage/[xxx] This feels wrong as a user because it is not about a single comment but about...

View Article


twig string filters dont work.

Problem/MotivationUsing simple twig filters with a pipe dont work, but wrapping with a {% filter foo %}"kinda" doesexamplate in themes/classy/templates/field/field--node--title.html.twig{{...

View Article


User references can bypass anonymous restrictions

When configuring an entity reference field for users, you can choose to disallow anonymous user selection. However, this only works when providing the list of autocomplete values, but is completely...

View Article

getTypes in TypeLinkManager doesn't work with the null cache back end

If you have the default cache bin set to NULL then protected function getTypes($context = array()) { $cid = 'rest:links:types'; $cache = $this->cache->get($cid); if (!$cache) {...

View Article

REST views: row-level caching doesn't exist, unlike for other types of...

Problem/MotivationIf you provide field based REST views you'll realize that they are quite slow, unless you have some caching for the entire result enabled.Once you dive into it, you quickly realize,...

View Article

REST views specify HTML as a possible request format, so if there is a...

I think we need a new test for getting taxonomy terms via the REST API.When you try to get a taxonomy term with an "Accept" header of application/json. you get the following error: {"message":"Not...

View Article


EntityResource: read-only (GET) support for configuration entities

Problem/MotivationSubissue of #2300677: [pp-2] Support ConfigEntity via RESTProposed resolutionRunning ie curl --user admin:admin --request GET...

View Article

Remove entity_load* usage for config_test entity type

See #2359437: [meta] Remove entity_load* family of functions usage from the code base

View Article


Replace remaining $request->get() usage to prepare core for Symfony 3

Follow-up to #2728815: Batch API uses request attributes instead of query in Symfony 3Problem/MotivationThe semantics of Request::get() have changed in Symfony 3. Request attributes are now examined...

View Article

Batch API uses request attributes instead of query in Symfony 3

Problem/MotivationThe semantics of Request::get() have changed in Symfony 3. Request attributes are now examined first before request query parameters. If you have an "op" request attribute AND an "op"...

View Article


node_query_node_acccess_alter() should only add cacheability on GET/HEAD

Problem/MotivationComing from #2663638: Avoid to check the render context to detect early rendering for Non-GET requests. and #2729137: NodeStorage::loadByProperties should avoid adding node access...

View Article

REST resources for authenticated users: log in, check login status, log out

Problem/MotivationActually if we use the user login form we always receive a 200. We need to receive a 400 for a failed attempt. We want to also verify the logout and the current logged in user...

View Article

Node info is localized in the menu router when clearing cache in a...

Problem/MotivationWhen clearing the menu cache, a menu item is added for each node type. The node info that is added through module_invoke however is localized in the current language. This means the...

View Article
Browsing all 297408 articles
Browse latest View live


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