After changing the title of a weblink node, the old title remains in all instances where the [weblink] tag has been used. This is because filter results are cached.

This patch solves the problem by clearing the cache entries for all input formats, potentially clearing many more entries than needed. Would it be worth finding which input format has the weblink filter enabled and then clearing only those?

CommentFileSizeAuthor
weblink.module.clearcache.patch462 bytesDavid Lesieur

Comments

Bèr Kessels’s picture

Status: Needs work » Reviewed & tested by the community

This looks fine. Clearing the cache of all input formats, is IMO not a big problem.

Bèr Kessels’s picture

Status: Reviewed & tested by the community » Fixed

thanks

Anonymous’s picture

Status: Fixed » Closed (fixed)