Comments (3)
it happens when we try to update scores for a user. it's a case when this quiz UUID is already associated with some user. My guess was that the frontend sends multiple requests for some reason and we try to assign quiz UUID to the user twice.
We trying to update user C34EAF2F-9E88-474E-9A03-EED62B5F5A5D
with the quiz uuid a8d30ffc-9964-4730-af38-36aa31fb6e3b
@rodriguesk I see that at the current moment you already have some quiz assigned to you
854EB8D6-C972-4ED7-ACAF-3A44013FC83C
I've started checking with the following query to find all @rodriguesk quizzes. Maybe you had to take another quiz. So I had to check this
select * from scores sc
join sessions se on se.session_uuid = sc.quiz_uuid
join users u on u.user_uuid = se.user_uuid
where u.user_uuid = 'C34EAF2F-9E88-474E-9A03-EED62B5F5A5D'
And have no result.
then I've checked all your sessions with
select * from sessions where user_uuid = 'C34EAF2F-9E88-474E-9A03-EED62B5F5A5D'
and have no results
then I've realized that there are not a single link to a user from the session table.
SELECT TOP 501 t.*
FROM [sqldb-web-test-001].dbo.sessions t
WHERE user_uuid is not null
All sessions are anonymous! It's a huge issue.
As a result I unable to check user's history of q quizzes
from climatemind-backend.
@danmash I'm not sure I understand the issue here precisely, but perhaps it has been (at least partially) solved by #363, given that that PR addresses the anonymous session issue?
from climatemind-backend.
ok, let's see if it will happen on production
from climatemind-backend.
Related Issues (20)
- Fix services.webapp.environment.CHOKIDAR_USEPOLLING contains true, which is an invalid type, it should be a string, number, or a null HOT 3
- Find out a source of occupations HOT 1
- Drop flask-selfdoc HOT 3
- Check Windows installation HOT 3
- Upgrade sentry to 1.10
- As a back-end developer, I want to have a remote project environment to work on HOT 1
- As a back-end developer, I want to get the unique invite link for a user HOT 1
- As a front-end developer, I want to get a single invite link for user A HOT 1
- POST text feedback alongside with user's rating
- Add unit test for lrf_data HOT 2
- Refactor feed Blueprint usage
- Missing troubleshooting instructions for failed database migration during installation HOT 1
- add relatedPersonalValues to /feed endpoint
- delete account and associated data HOT 1
- analytics endpoint
- Fix "List index out of range" for sorted_aligned_effects
- Inconsistent Email Validation Between Postman API Testing and Application Interface. HOT 3
- Error in chart displaying resoults of a quiz HOT 1
- Incorrect graph display in "Personal Value Web"
- Refactor the auth/routes and docker config to remove recapture token etc and instead to use OAuth for google and social media authentication HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from climatemind-backend.