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

Auto Contribution still occurs when Rewards or A-C are toggled off #2804

Closed
LaurenWags opened this issue Jan 3, 2019 · 2 comments · Fixed by brave/brave-core#1205
Closed

Comments

@LaurenWags
Copy link
Member

LaurenWags commented Jan 3, 2019

Description

If you turn off Rewards via the toggle at the top of brave://rewards page, Auto-Contribute can still occur if the A-C table has sites in it. When Rewards are turned off, auto contribution should not happen. Additionally, if I toggle A-C off but leave Rewards on, auto contribute still occurs when sites are listed in the table. If the table is blank, I'm not seeing contribution happen.

Steps to Reproduce

  1. Launch Brave with a fresh profile and --rewards=reconcile-interval=15(or a shorter amount of minutes if you can work quickly)
  2. Enable Rewards
  3. Fund your wallet, verify amount displays in browser.
  4. Visit some sites to populate a-c table
  5. Turn off Rewards with toggle at the top of brave://rewards page (or toggle A-C off in the pane)
  6. Wait until the reconcile-interval time is met.

Actual result:

Even though Rewards switch is turned off, Auto Contribute still occurs (at about 1:07ish in this clip you'll see the wallet balance go down 20 BAT, the monthly budget for auto contribute):
contrib-rewardsoff

Expected result:

Rewards is off, Auto Contribute should not happen.

Reproduces how often:

Easily

Brave version (brave://version info)

Brave 0.59.14 Chromium: 72.0.3626.28 (Official Build) beta(64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Mac OS X

Reproducible on current release:

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

Website problems only:

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

Additional Information

Originally reported in community https://community.brave.com/t/auto-contribute-gets-triggered-even-when-brave-rewards-is-disabled/40255/6

cc @mandar-brave @rebron @brave/legacy_qa

Note - If I explicitly toggle Auto Contribute off before toggling Brave Rewards off (in between steps 4 and 5 above), this still occurs.

@btlechowski
Copy link

btlechowski commented Jan 10, 2019

Verification passed on

Brave 0.58.20 Chromium: 71.0.3578.98 (Official Build) (64-bit)
Revision 15234034d19b85dcd9a03b164ae89d04145d8368-refs/branch-heads/3578@{#897}
OS Windows 7

Used STR from OP.
Tested with rewards off and ac off.
Made sure that after rewards were reenabled, the contribution went through.
Noticed that ac table was not cleared when rewards were off. Logged #2892

Verified passed with

Brave 0.58.20 Chromium: 71.0.3578.98 (Official Build) (64-bit)
Revision 15234034d19b85dcd9a03b164ae89d04145d8368-refs/branch-heads/3578@{#897}
OS Mac OS X
  • Verified STR from description
  • Verified auto contribute does not occur if A-C is toggled off in pane
  • Verified auto contribute does not occur if Rewards is toggled off

Verification PASSED on Mint 19.1 x64 VM using the following build:

Brave 0.58.21 Chromium: 71.0.3578.98 (Official Build) (64-bit)
Revision 15234034d19b85dcd9a03b164ae89d04145d8368-refs/branch-heads/3578@{#897}
OS Linux
  • Verified STR from description
  • Verified auto contribute does not occur if A-C is toggled off in pane
  • Verified auto contribute does not occur if Rewards is toggled off

@NejcZdovc
Copy link
Contributor

table will not be cleared when rewards are off, then will be only cleared when contribution is due

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment