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
Added support for contact tokens for url in Send a webhook campaign action #6494
Added support for contact tokens for url in Send a webhook campaign action #6494
Conversation
Hi @kuzmany, I tested this PR according to different use cases I could think and one of them didn't work. I tested only for the For my tests, I have found useful to use the https://webhook.site in order to check if the webhooks were sent or not. The test URL was : https://webhook.site/e02dc6fe-db1b-4872-ba7b-f4ef09ef5f33
It worked. But I had to adjust the webhook timeout to a higher value or I wouldn't receive all of them (I eventually set 60 seconds.
But the webhook is never sent when the campaign is launched, and there is an error in the contact view |
@can you retest point 3 again? Doesn't make sense. Thanks |
@kuzmany OK, I tried again. It worked well for all test cases this time. Thanks |
Anyone else to test this? It's a great enhancement for "send a webhook" feature. I described an easy way to test it aswell. |
Hi there! We now want to integrate your contribution in the Mautic 3 roadmap as 3.1.0 candidate. How to do?
Please report results by commenting on your PR to make us administration easier. You can more information on how to do all of that on this blog post "Getting you PR ready for Mautic 3". |
72ce9af
to
5409c19
Compare
Rebased |
@kuzmany how can I help with this? |
@mautibot test and review it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I applied and test this PR twice, it works fine
@dennisameling this PR is working as well, when you have time please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested this patch, it works well on 3 Mautic 3.0.1 instances. The only issue is it conflicts with pull request #8959
f8afad4
to
2ea0ac2
Compare
Looks like we have two good tests on this PR - I've just rebased to get the code coverage report to confirm that it's good to merge. @mabumusa1 can you take a look at the comments relating to your PR #8959 please? |
Codecov Report
@@ Coverage Diff @@
## staging #6494 +/- ##
==========================================
Coverage 29.57% 29.58%
Complexity 33245 33245
==========================================
Files 1937 1937
Lines 115172 115170 -2
==========================================
+ Hits 34067 34068 +1
+ Misses 81105 81102 -3
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving based on the previous two 👍 votes which were dismissed with the rebase
@RCheesley I rebased to |
Please be sure you are submitting this against the staging branch.
Description:
This PR added to Send a webhook campaign action (#4357) support for contact token in url.
PR use case based on slack conversation
https://mautic.slack.com/archives/C02HU8BUT/p1533624667000200
Steps to test this PR: