Email record detail does not check for email

Bug #1197636 reported by Pasi Kallinen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned

Bug Description

*EG master

In OPAC there's an "Email" link that makes the system email the record details to the patron. Clicking on that link always shows "Your email has been queued for Delivery" - even when the patron has no email address set.

Revision history for this message
Ben Shum (bshum) wrote :

I might play with this one in the coming weeks.

Changed in evergreen:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Ben Shum (bshum)
tags: added: bitesize
Kathy Lussier (klussier)
Changed in evergreen:
assignee: Ben Shum (bshum) → nobody
Revision history for this message
Dan Pearl (dpearl) wrote :

I'm working on this.

Kathy Lussier (klussier)
Changed in evergreen:
assignee: nobody → Dan Pearl (dpearl)
Revision history for this message
Dan Pearl (dpearl) wrote :

Done. This will intercept the lack of email and give the user the opportunity to add one to their profile.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dpearl/email_1197636

tags: added: pullrequest
Changed in evergreen:
status: Triaged → In Progress
Kathy Lussier (klussier)
Changed in evergreen:
status: In Progress → Triaged
assignee: Dan Pearl (dpearl) → nobody
milestone: none → 2.next
Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I think the language should be less folksy and should use the third person for the first sentence. "Oops!" should also be removed.

Just my opinion.

Changed in evergreen:
assignee: Jason Stephenson (jstephenson) → nobody
Revision history for this message
Thomas Berezansky (tsbere) wrote :

In addition to Jason's comment, I think that you should insert the email address and link into the language strings via placeholders (who is to say that the email address or "here" link should be at the *end* in all languages?).

Revision history for this message
Jason Stephenson (jstephenson) wrote :

I just want to add that I tested the branch this morning and it works great.

Revision history for this message
Jason Stephenson (jstephenson) wrote :

I dropped the 2.8 and 2.9 series targets because we don't want branches with translated strings in bug fix point release branches. We only do translations at "major" release time, so backported strings changes can lead to someone on a translated Evergreen having non-translated strings show up unexpectedly.

This is not meant as a slight on Dan's efforts. Just that we need to be aware of translation issues.

no longer affects: evergreen/2.8
no longer affects: evergreen/2.9
Changed in evergreen:
assignee: nobody → Jennifer Pringle (jpringle-u)
Revision history for this message
Dan Pearl (dpearl) wrote :

Going to knock this one off, Jennifer? If you don't have time, I could do it.

Dan

Revision history for this message
Kathy Lussier (klussier) wrote :

Hi Dan,

Jennifer assigned herself because she is testing it for Bug Squashing Day. I think the changes Jason and Thomas requested will still need to be done before the code is merged.

Kathy

Revision history for this message
Kathy Lussier (klussier) wrote :

Also, if the changes are done before Jennifer gets a chance to test it, I should have time to load it on to a Sandbox in short order so that she can test the latest and greatest!

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

If a wording change happens I suggest "Your account does not currently have an email address set. Set your email address here."

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

This code works as described up to the point of the email being sent (the test server does not send email).

I have tested this code and consent to signing off on it with my email address, <email address hidden>, and name, Jennifer Pringle.

Changed in evergreen:
assignee: Jennifer Pringle (jpringle-u) → nobody
tags: added: signedoff
Kathy Lussier (klussier)
tags: added: needsrepatch
removed: pullrequest
Dan Pearl (dpearl)
Changed in evergreen:
assignee: nobody → Dan Pearl (dpearl)
Revision history for this message
Dan Pearl (dpearl) wrote :

I have addressed the outstanding issues and retested the code. Thank you for your comments.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dpearl/email_1197636_A

tags: added: pullrequest
removed: needsrepatch
Revision history for this message
Galen Charlton (gmc) wrote :

Tested; my signoff branch is user/gmcharlt/lp1197636_signoff. I've also applied the rm-to-write-notes tag, as a one-liner will suffice for the release notes for this.

tags: added: rm-to-write-notes
Changed in evergreen:
milestone: 2.next → 2.10-beta
status: Triaged → Confirmed
importance: Medium → Wishlist
Revision history for this message
Ben Shum (bshum) wrote :

Pushed to master.

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Dan Pearl (dpearl) → nobody
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.