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

fix: keyerror due to my_tickets_url while rendering tickets template #6858

Merged
merged 1 commit into from
Feb 20, 2020

Conversation

kushthedude
Copy link
Member

Fixes #6857

@auto-label auto-label bot added the fix label Feb 20, 2020
@kushthedude kushthedude changed the base branch from development to master February 20, 2020 14:08
@@ -190,7 +190,7 @@
u"<br/>Your order has been processed successfully."
+ u"<br/> Your tickets & invoice have been enclosed."
u"<br><br>You can also download your tickets in <b>My Tickets</b> section."
u"<br/>Login to manage the orders at <a href='{mytickets_url}' target='_blank'>{mytickets_url}</a> </em>"
u"<br/>Login to manage the orders at <a href='{my_tickets_url}' target='_blank'>{my_tickets_url}</a> </em>"

Choose a reason for hiding this comment

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

line too long (119 > 90 characters)

@codecov
Copy link

codecov bot commented Feb 20, 2020

Codecov Report

Merging #6858 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6858   +/-   ##
=======================================
  Coverage   66.21%   66.21%           
=======================================
  Files         307      307           
  Lines       15298    15298           
=======================================
  Hits        10129    10129           
  Misses       5169     5169
Impacted Files Coverage Δ
app/api/helpers/system_mails.py 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25e6a09...1d0c6a9. Read the comment docs.

@iamareebjamal
Copy link
Member

Didn't @mrsaicharan1 right a test for this? Then how did this basic mistake get through?

@iamareebjamal iamareebjamal changed the base branch from master to development February 20, 2020 14:21
@iamareebjamal iamareebjamal changed the title fix: keyerror in mytickets_url fix: keyerror due to my_tickets_url while rendering tickets template Feb 20, 2020
@iamareebjamal iamareebjamal merged commit ec3b0d1 into fossasia:development Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server crashing on order PATCH
3 participants