Problem/Motivation

After a cache rebuild, a page that renders a contributions block falls back to the waiting-for-credits message.

Steps to reproduce

  • Add config for an organization.
  • Add contrib blocks to a page.
  • Clear cache and reload page.
  • Note that the issue credits are not rendered - a message saying they are being fetched is shown instead.
  • Run the drush command to fetch credits (drush contribution:fetch) and reload page.
  • Note that the issue credits are now rendered.

Proposed resolution

Add a hook to rebuild cache upon cache clear.

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

zopa created an issue. See original summary.

markdorison’s picture

Status: Active » Needs work

zopa’s picture

Status: Needs work » Needs review
markdorison’s picture

Status: Needs review » Reviewed & tested by the community

Great work on this. LGTM!

  • zopa committed ef23c31 on 1.x
    Issue #3192250 by zopa, markdorison: Rebuild cache after cache is...

zopa’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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