ejplatform / ej-server

EJ uses gamification and machine learning to promote discussions and participation in a virtual democracy
https://ejplatform.github.io/ej-server/
Other
38 stars 17 forks source link

Erro do django ao salvar a persona #682

Closed ricardopoppi closed 5 years ago

ricardopoppi commented 5 years ago

Para replicar o bug:

1) Crie um mural num usuário comum 2) Crie uma conversa 3) Crie uma persona (estereótipo) 4) Tente salvar a persona, observe o erro do django:

Request Method: | POST
-- | --
http://localhost:8000/supermural/conversations/pra-voce/stereotypes/add/
2.1.3
DoesNotExist
Clusterization matching query does not exist.
/home/ricardo/.virtualenvs/ej/lib/python3.6/site-packages/django/db/models/query.py in get, line 399
/home/ricardo/.virtualenvs/ej/bin/python3.6
3.6.6
['/home/ricardo/git/ej-server',  '/home/ricardo/git/ej-server/src',  '/home/ricardo/git/ej-server',  '/home/ricardo/.virtualenvs/ej/bin',  '/home/ricardo/.virtualenvs/ej/lib/python36.zip',  '/home/ricardo/.virtualenvs/ej/lib/python3.6',  '/home/ricardo/.virtualenvs/ej/lib/python3.6/lib-dynload',  '/usr/lib/python3.6',  '/home/ricardo/.virtualenvs/ej/lib/python3.6/site-packages',  'src',  '/home/ricardo/git/ej-server/ej']
Ter, 4 Dez 2018 16:08:59 -0200
fabiolamfleury commented 5 years ago

Corrigido na branch dev