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

Confirmation type dismiss is not recorded in confirmations.json file #4023

Closed
GeetaSarvadnya opened this issue Apr 5, 2019 · 7 comments
Closed

Comments

@GeetaSarvadnya
Copy link

Description

When we tap Close in ads notification popup, the confirmation type event dismiss is not recorded in the confirmations.json file.

Steps to Reproduce

  1. Clean profile 0.63.31
  2. Enable rewards
  3. Open brave.com or imdb.com
  4. Keep the page idle for 15 secs
  5. Move the cursor
  6. Tap on Close in Ads notification popup
  7. Navigate to profile folder rewards_service and open confirmations.json file

Actual result:

confirmation type dismiss is not recorded in confirmations.json file

image

Expected result:

confirmation type dismiss should be recorded in the confirmations.json file

Reproduces how often:

Always

Brave version (brave://version info)

Brave 0.63.31 Chromium: 73.0.3683.75 (Official Build) beta (64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Windows 10 OS Build 17134.523

Reproducible on current release: No

  • Does it reproduce on brave-browser dev/beta builds? Yes

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields? NA
  • Is the issue reproducible on the latest version of Chrome? NA

Additional Information

@brave/legacy_qa

@tmancey
Copy link
Contributor

tmancey commented Apr 5, 2019

Dismiss works as expected from the Notification Centre, so issue is when the notification appears on the desktop.

@srirambv
Copy link
Contributor

srirambv commented Apr 5, 2019

This is what I see on Dev build(0.64.37) on Linux. Console logs the following failure message

22828:22828:0405/074848.232507:WARNING:redeem_token.cc(406)] Failed to redeem token with 68148e86-7ff0-4e3c-bafb-3157bd01d062 creative instance id for dismiss
[22828:22828:0405/074848.232523:INFO:redeem_token.cc(412)] Retry 68148e86-7ff0-4e3c-bafb-3157bd01d062 creative instance id for dismiss
[22828:22828:0405/074848.232541:INFO:redeem_token.cc(416)] Added 68148e86-7ff0-4e3c-bafb-3157bd01d062 creative instance id for dismiss to the confirmations queue
[22828:22828:0405/074848.232565:INFO:confirmations_impl.cc(642)] Saving confirmations state

but confirmations.json records the entry for each dismiss
image

@tmancey
Copy link
Contributor

tmancey commented Apr 5, 2019

@srirambv ^ the failure is due to error returned in URL request response. Please provide chrome-debug.log inside user profile directory, however I expect this was a network error.

Failed confirmations will retry every 5 + jitter minutes until successful.

@srirambv
Copy link
Contributor

srirambv commented Apr 5, 2019

[22828:22828:0405/075417.693148:INFO:confirmations_impl.cc(642)] Saving confirmations state
[22828:22828:0405/075417.694175:INFO:confirmations_impl.cc(782)] Removed 68148e86-7ff0-4e3c-bafb-3157bd01d062 creative instance id for dismiss from the confirmation queue
[22828:22828:0405/075417.694194:INFO:confirmations_impl.cc(642)] Saving confirmations state
[22828:22828:0405/075417.695120:INFO:redeem_token.cc(424)] Successfully redeemed token with 68148e86-7ff0-4e3c-bafb-3157bd01d062 creative instance id for dismiss
[22828:22828:0405/075417.695186:INFO:confirmations_impl.cc(931)] No failed confirmations to retry

Just rechecked and there is successful confirmation of the same token being redeemed

@rebron
Copy link
Collaborator

rebron commented Apr 5, 2019

cc: @kjozwiak see for macOS

@tmancey tmancey self-assigned this Jul 8, 2019
@tmancey tmancey added the priority/P2 A bad problem. We might uplift this to the next planned release. label Jul 10, 2019
@tmancey tmancey removed their assignment Jul 17, 2019
@jsecretan jsecretan added priority/P3 The next thing for us to work on. It'll ride the trains. and removed priority/P2 A bad problem. We might uplift this to the next planned release. labels Jul 17, 2019
@tmancey tmancey self-assigned this Jul 31, 2019
@tmancey tmancey added priority/P2 A bad problem. We might uplift this to the next planned release. and removed priority/P3 The next thing for us to work on. It'll ride the trains. labels Jul 31, 2019
@tmancey
Copy link
Contributor

tmancey commented Aug 7, 2019

@GeetaSarvadnya I believe this is fixed by #5548 could you please retest

@tmancey tmancey assigned GeetaSarvadnya and unassigned tmancey Aug 7, 2019
@tmancey tmancey added the QA/Yes label Aug 14, 2019
@tmancey tmancey changed the title confirmation type dismiss is not recorded in confirmations.json file Confirmation type dismiss is not recorded in confirmations.json file Jan 20, 2020
@tmancey tmancey removed QA/Yes priority/P2 A bad problem. We might uplift this to the next planned release. labels Jan 20, 2020
@GeetaSarvadnya
Copy link
Author

@terry Issue is reproducible only in 0.63.x. In the latest versions issue is fixed and working fine. Verified a couple of releases 1.1.x and 1.2.x and 1.3.x. Hence closing the issue.
image

@tmancey tmancey added the QA/Yes label Jan 21, 2020
@bbondy bbondy added this to the Closed / Invalid milestone Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants