Problem/Motivation

The taxonomy module's taxonomy_token_info does not have taxonomy changed token.

Steps to reproduce

Use Token Browser on Taxonomy term related pages to view available tokens.

Issue fork drupal-3161892

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

purushotam.rai created an issue. See original summary.

purushotam.rai’s picture

Status: Active » Needs review
StatusFileSize
new2.48 KB
abhijith s’s picture

StatusFileSize
new96.2 KB
new105.78 KB

Applied patch #2 and it works fine.The [term:changed] token is available after applying this patch.

Before patch:
before

After patch:
after

RTBC +1

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

ranjith_kumar_k_u’s picture

StatusFileSize
new2.38 KB

Rerolled #2

Manibharathi E R’s picture

StatusFileSize
new170.91 KB
new251.29 KB

Patch #7 Applied successfully on Drupal 9.4.x.

Before Patch:
Before-Patch

After Patch:
After-patch

Arti Anil Pattewar’s picture

StatusFileSize
new2.38 KB
new411 bytes

Rerolled #7 for d9.4.x-dev.

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

New feature will require a test to make sure it stays working.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

abhijith s’s picture

Version: 9.5.x-dev » 10.2.x-dev

abhijith s’s picture

Added test case for the issue #9 and changed to MR

abhijith s’s picture

Status: Needs work » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs tests +Needs Review Queue Initiative

Hiding patches for clarity

Ran test-only feature

-'0 seconds'
+'[term:changed:since]'
/builds/issue/drupal-3161892/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:121
/builds/issue/drupal-3161892/vendor/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php:79
/builds/issue/drupal-3161892/core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php:147
/builds/issue/drupal-3161892/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
FAILURES!
Tests: 1, Assertions: 26, Failures: 1.

New token seems to follow how others are added so think it's good.

quietone’s picture

Version: 10.2.x-dev » 11.x-dev

Changing version. And, this should have a proposed resolution

longwave’s picture

Status: Reviewed & tested by the community » Fixed

Committed 900ea3f and pushed to 11.x. Thanks!

New features are not eligible for backport so this will land in 10.3.0.

  • longwave committed 900ea3f6 on 11.x
    Issue #3161892 by Abhijith S, purushotam.rai, smustgrave: Taxonomy term...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.