Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Reproduced in default set up: Drupal 7.28, Expire 7.x-2.0-rc3. Enabled 'add of base url to path' setting of expire module.
Case:
we have several languages on site. Language detection url-based (/en, /fr, /es and etc).
When we navigation English site and update node of different language (i.e. programmatically or via bulk action), Expire module flushes wrong original url and aliased (/en/some-alias instead of /es/some-alias if node in Spanish).
It caused by fact that language of object doesn't passed to url function during generation of list of urls to expire.
Comment | File | Size | Author |
---|---|---|---|
#1 | 7.x-2.0-rc3-expire-wrong-node-language-flush-2291643.patch | 796 bytes | IRuslan |
Comments
Comment #1
IRuslan CreditAttribution: IRuslan commentedComment #3
SpleshkaThanks for your report and patch! I was able to reproduce this issue on my local installation. I extended your patch to add support of case when another node has "und" language. Because otherwise the expired pages were still wrong.
Consider that this issue has been fixed.
Comment #5
ogursoy CreditAttribution: ogursoy commentedI dont see this code in rc4 or dev?