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

[FW][FIX] mass_mailing_sms: Handle same sms_code in multiple traces #52452

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Jun 4, 2020

Issue

- Go to unsubsribe sms page where the 'sms_code' is the same
in multiple traces
- Fill the correct phone number (same one of any related traces)
- Click on 'Unsubscribe me'

Traceback is raised.

Also, if empty phone number, still have successfull message.

Cause

Multiple traces with same "sms_code" but different "sms_number".
The current behavior does not handle multiple traces.

Solution

- Filter and retrieve the trace with the correct "sms_number".
- Add 'required' attribute on phone number input.

opw-2264200

Forward-Port-Of: #52414

Issue

	- Go to unsubsribe sms page where the 'sms_code' is the same
	in multiple traces
	- Fill the correct phone number (same one of any traces)
	- Click on 'Unsubscribe me'

	Traceback is raised.

	Also, if empty phone number, still have successfull message.

Cause

	Multiple traces with same "sms_code" but different "sms_number".
	The current behavior does not handle multiple traces.

Solution

	- Filter and retrieve the trace with the correct "sms_number".
	- Add 'required' attribute on phone number input.

opw-2264200

X-original-commit: 34a8f63
@robodoo robodoo added forwardport This PR was created by @fw-bot seen 🙂 labels Jun 4, 2020
@fw-bot
Copy link
Contributor Author

fw-bot commented Jun 4, 2020

@nboulif
Copy link
Contributor

nboulif commented Jun 4, 2020

@fw-bot r+

@robodoo robodoo added the r+ 👌 label Jun 4, 2020
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Jun 4, 2020
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Jun 4, 2020
robodoo pushed a commit that referenced this pull request Jun 4, 2020
Issue

	- Go to unsubsribe sms page where the 'sms_code' is the same
	in multiple traces
	- Fill the correct phone number (same one of any traces)
	- Click on 'Unsubscribe me'

	Traceback is raised.

	Also, if empty phone number, still have successfull message.

Cause

	Multiple traces with same "sms_code" but different "sms_number".
	The current behavior does not handle multiple traces.

Solution

	- Filter and retrieve the trace with the correct "sms_number".
	- Add 'required' attribute on phone number input.

opw-2264200

closes #52452

X-original-commit: 34a8f63
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
@robodoo robodoo closed this Jun 4, 2020
@robodoo robodoo temporarily deployed to merge June 4, 2020 17:18 Inactive
@fw-bot fw-bot deleted the master-13.0-opw-2264200-mass_mailing_sms-fix-unsubscribe-bon-hFUX-fw branch June 18, 2020 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants