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
#1269 Resolved the bug to show correct {{eventName}} on compose message page #1275
#1269 Resolved the bug to show correct {{eventName}} on compose message page #1275
Conversation
Hi @ved-asole thanks for the modification. I am afraid this does not solve the issue completely. You have to make sure that event.displayName is also used in the actual email being sent (see original bug). If you're testing locally, you can see the email output on the console and check if the output is the expected one. Feel free to create an (unit) test case for this. It would be highly appreciated |
Hi @cbellone, sure. I will also check the actual email. |
Hi @cbellone, I have updated the code to sent the correct eventName in the actual email also |
Hi @cbellone, Could you please approve the above pull request? |
I can't approve the pull request because I don't think it solves the issue. Have you tested the application and verified that your fix is working? Because I'd be very surprised if it did... |
Hi @cbellone, so what happened is that at first the angular ui was showing the wrong value for eventName. When I corrected that then that value was sent in api call to the backend and in backend it was checking for that value with the DB for short name whereas it should have checked for displayName. So I updated the select statement to check for display Name also as that method is used by other functions so I can't remove the check for shortName. Please find below the screenshots where it works for me : |
If you want, I can created a new method for the same to get display Name rather than changing the select statement because that method is used by around 4 other functions to get the short Name so I can't remove short name also. |
OK, thanks for your detailed explanation. I now understand what's wrong and what caused the query modification. find an event by I'd suggest you to:
|
Sure, I'm on it |
…e}} for compose message functionality
c51d8c1
to
00fb07b
Compare
Hi @cbellone, I have updated the code to show the display name on the Angular UI screen and updated the backend code to get the displayName while sending the email. Please approve the PR. |
Hi @cbellone, could you please review the pull request and approve it? |
78cd747
into
alfio-event:2.0-M4-maintenance
Approved and merged. Thank you! |
Thanks @cbellone for giving me this opportunity to contribute to the project 😊 |
Hi @cbellone, just had a small doubt. In the repository contributors section my id/name is not being shown. Is it some glitch or I have not followed the proper procedure to contribute to the repo? |
Hi @cbellone, could you please suggest on the above issue? |
Hi @cbellone , could you please suggest why my name is not coming in collaborators list? |
Hi, now you should be in the collaborators list. |
Thanks @cbellone, looking forward to on more projects working with you 😄 |
Resolved the bug #1269 to show show correct {{eventName}} on compose message page