Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

fix: percent_complete error in jinja templating #306

Merged
merged 5 commits into from
Jan 14, 2022

Conversation

pattishin
Copy link
Collaborator

Issue

Clicking on 'view campaign' link on a campaign card causes the app to error out.
Cloud Run log error below:

Screen Shot 2022-01-10 at 10 31 39 AM

Items to verify

  • Verify any new / existing campaigns are viewable after clicking on 'view campaign' or hot-linking to a campaign

Steps to test PR through my local project:

If you go this route, let me know so I can add you manually as an approver in the project. (Required in order to login)
I also may need to redeploy.

api: https://api-byccf5bkda-uc.a.run.app
website: https://website-byccf5bkda-uc.a.run.app/

Steps to test PR locally in your personal project: (Cloud Shell)

  1. Ensure you have your local setup like so:
  1. Copy client-libs/ directory from root into website/ directory before building the image / deploying (its Dockerfile requires the directory)

  2. Build image based on content-api/ directory and deploy in container w/ Cloud Run (name: api)

  3. Build image based on website/ directory and deploy in container w/ Cloud Run (name: website)

  4. From project root, run . scripts/configure_auth.sh (Requires website container to exist)

  5. Verify the above listed checklist items.

Drive of personal scripts used: (poor man's scripting)
https://drive.google.com/drive/folders/1knOSYk4EKQcuke5wvCMVVB-ifJN7JgNO?usp=sharing

…ibute 'percent_complete'

fix: resolving jinja template error when percent_complete is undefined

fix: minor variable tweak

refactor: clean up
@pattishin pattishin requested a review from a team as a code owner January 11, 2022 04:31
Copy link
Contributor

@engelke engelke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@engelke engelke merged commit 994376e into main Jan 14, 2022
@engelke engelke deleted the bugfix/percent-complete-bug branch January 14, 2022 23:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants