Actually HS flushes all cache regardless expired column.
After that hierarchical_select_json returns "Fatal error message" (HS wont allow to select value) and users may lost their content

There is 2 solutions that I see

  • disable site then flush cache
  • use simple enough solution from inforeto

I'd prefer 2nd

CommentFileSizeAuthor
#1 1254518_oh_cache_flushing.patch530 bytesvectoroc

Comments

vectoroc’s picture

StatusFileSize
new530 bytes

I've reader inforeto's solution more carefully and found that my thoughts are different.

vectoroc’s picture

Status: Active » Needs review
wim leers’s picture

Title: Do not flush not expired HS cache » hook_flush_caches() does more than its docs say: work around this core bug
Status: Needs review » Reviewed & tested by the community

The official hook_flush_caches() docs say this is doing it wrong (http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...), but joshk's comment proves it's correct and proves core's docs are simply wrong (http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...).

wim leers’s picture

Status: Reviewed & tested by the community » Needs review

Going back to NR, because there's been no further comments on this, which seems to indicate this *isn't* a bug after all?

vectoroc’s picture

I use this patch in production and hope it will be commited before next release

vectoroc’s picture

Status: Needs review » Reviewed & tested by the community
stefan.r’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (won't fix)