承接 redactivemedia/redactive_broken_token_fixer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

redactivemedia/redactive_broken_token_fixer

Composer 安装命令:

composer create-project redactivemedia/redactive_broken_token_fixer

包简介

Redactive Broken Token Fixer checks cache_bootstrap:module_implements for the system_token_info hook - if it's missing, delete the corrupted cache data to force a rebuild.

README 文档

README

This module fixes the case where an incomplete module_hook_info() call occurs.

This results in an incomplete list of module hook info being cached.

This seems to occur when using Drupal's "Clear all caches" button on the admin > configuration > development page, or the "Clear all caches" link in the Drupal Admin Menu module.

Symptoms of this issue occurring include Node tokens not working, and the presence of errors on pages which use Tokens such as the Pathauto configuration page, such as:

Notice: Undefined index: name in token_asort_tokens() (line 582 of ... token.module).

Default path pattern (applies to all content types with blank patterns below) is using the following invalid tokens: [node:title].

Because some data exists in the cache, Drupal assumes the data can be trusted when it cannot.

This issue is a particularly insidious one because it breaks almost all tokens, and as a result breaks a number of sites' layouts when they use tokens to set a path off which block placements hang - e.g. /news/*.

This module invalidates caches when they don't contain a mention of the Node module's token_info hook, since this should always be present if the node module is enabled.

Questions/comments/complaints to digital@redactive.co.uk please (-:

Alex Harries 6th November 2019

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GNU
  • 更新时间: 2019-11-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固