`claimed_at` db timestamp value resets to zero after sending one time or recurring tip
See original GitHub issueDescription
Found while testing https://github.com/brave/brave-browser/issues/7297
claimed_at
db timestamp value resets to zero after sending one time or recurring tip
Steps to Reproduce
- Clean profile 1.4.x launch brave using
brave.exe --rewards=staging=true
- Enable rewards
- Open
publisher_info_db
and checkpromotion
showsclaimed_at
value as0
(expected) - Claim UGP grants in browser
- Repeat step 3 and make sure
claimed_at
value shows UGP grants claimed timestamp - Send a one-time tip or recurring tip to a verified pub
- Repeat step 3,
claimed_at
value resets to0
Actual result:
Before claiming UGP grants: Just enable rewards After claiming UGP grants: After setting one-time or recurring tip
Expected result:
claimed_at
db timestamp value should not reset to zero after sending a one-time tip or recurring tip
Reproduces how often:
Always
Brave version (brave://version info)
Brave | 1.4.84 Chromium: 80.0.3987.87 (Official Build) beta (64-bit) |
---|---|
Revision | 449cb163497b70dbf98d389f54e38e85d4c59b43-refs/branch-heads/3987@{#801} |
OS | Windows 10 OS Version 1803 (Build 17134.1006) |
Version/Channel Information:
- Can you reproduce this issue with the current release? NA
- Can you reproduce this issue with the beta channel? Yes
- Can you reproduce this issue with the dev channel? Yes
- Can you reproduce this issue with the nightly channel? Yes
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? NA
- Does the issue resolve itself when disabling Brave Rewards? NA
- Is the issue reproducible on the latest version of Chrome? NA
Miscellaneous Information:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Time stamp resets to zero when entering edit mode
It seems that the time stamp on a cell resets to zero when entering edit mode. From our multiple tests, the results are...
Read more >Store timestamp with time 00:00:00 - Stack Overflow
I've usually set the date with the call, and then reset the time to ... a Carbon::startOfDay() method that will set the appropriate...
Read more >TIMESTAMP - MariaDB Knowledge Base
If a column uses the TIMESTAMP data type, then any inserted values are converted from the session's time zone to Coordinated Universal Time...
Read more >DATE, TIMESTAMP and format masks - Oracle APEX
This article gives an overview on working with DATE, TIMESTAMP and format ... When the output of a TIMESTAMP WITH TIME ZONE value...
Read more >Timestamps, Time Zones, Time Ranges, and Date Formats
During ingestion, we can detect the message timestamp, convert it to Unix epoch time (the number of milliseconds since midnight, January 1, 1970...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue is reported in 1.4.x. The PR https://github.com/brave/brave-core/pull/4202 is not merged in 13.116 hence moving the issue out of 1.3.x hotfix.
Verification passed on
Before claiming UGP grants:
After claiming UGP grants:
After setting a one-time or recurring tip
Also ensured that both the promotion and promotion_creds tables were empty in publisher_info_db once the browser was restarted.
Verification passed on
Before claiming UGP grants:
After claiming UGP grants:
After setting a one-time or recurring tip
Verification PASSED on
macOS 10.15.3 x64
using the following build:Before claiming UGP & Ad grants:
After claiming UGP & Ad grants:
After tipping 10 BAT: