thesentinelproject / threatwiki_node

Threatwiki - genocide risk tracking and visualization platform to help monitor communities at risk of genocide around the world
Other
63 stars 25 forks source link

MAJOR: Can't create SOC/Tags/Datapoint in PRODUCTION environment #45

Closed jeromegv closed 12 years ago

jeromegv commented 12 years ago

Hey.. it's totally broken for creating SOC/Tags/Datapoint. i didn't test under DEV but under Production it doesn't work at all. Did you test your code? What seems to happen is that your function is not async, so it tries to execute the code that needs the user variable before you actually retrieve the user from the DB... I was too tired to find a quick fix, since you did that part of the code, I'll need you to fix that before we can say 2.0 is completed.

ghost commented 12 years ago

Hmm strange. I did rest and things worked fine for me under both modes, but I was also very sleepy and on a reason so I could have missed something.

I probably won't be able to get to this before Wednesday, so can you just reset that commit and we can launch without it? It was initially meant for Warsaw anyway.

Abhishek On Jun 11, 2012 1:37 AM, "jeromegv" < reply@reply.github.com> wrote:

Hey.. it's totally broken for creating SOC/Tags/Datapoint. i didn't test under DEV but under Production it doesn't work at all. Did you test your code? What seems to happen is that your function is not async, so it tries to execute the code that needs the user variable before you actually retrieve the user from the DB... I was too tired to find a quick fix, since you did that part of the code, I'll need you to fix that before we can say 2.0 is completed.


Reply to this email directly or view it on GitHub: https://github.com/thesentinelproject/threatwiki_node/issues/45

jeromegv commented 12 years ago

As of Waterloo release, it works in PROD but not in DEV, suggested in the readme to force env on PROD to use the app correctly

abhishekbh commented 12 years ago

fixed in prod