Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expire investment cache when its image changes #3913

Merged
merged 1 commit into from
Feb 5, 2020
Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented Feb 4, 2020

Background

We've added the option to remove an image from an investment. However,
removing the image did not expire the cache, so the rendered HTML still
included an <image> tag (which wouldn't show an image, since it had
been deleded) and a link to remove an image.

Objectives

Fix a bug resulting in an empty image being shown after removing it.

Visual Changes

Before these changes:

The alternative text is shown and there is a link to delete the image

We've added the option to remove an image from an investment. However,
removing the image did not expire the cache, so the rendered HTML still
included an `<image>` tag (which wouldn't show an image, since it had
been deleded) and a link to remove an image.
@javierm javierm added the Bug label Feb 4, 2020
@javierm javierm self-assigned this Feb 4, 2020
@javierm javierm added this to Reviewing in Roadmap via automation Feb 4, 2020
Roadmap automation moved this from Reviewing to Testing Feb 5, 2020
@javierm javierm merged commit 7b76e0b into master Feb 5, 2020
Roadmap automation moved this from Testing to Release 1.1.0 Feb 5, 2020
@javierm javierm deleted the cache_image branch February 5, 2020 20:04
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Expire investment cache when its image changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

2 participants