councilforeconed / interactive-activities

Council for Economic Education
http://interactives.councilforeconed.org
Mozilla Public License 2.0
6 stars 2 forks source link

Cacao: Transactions Failing #85

Closed stevekinney closed 10 years ago

stevekinney commented 10 years ago

Hey @jugglinmike and @mzgoddard,

Every transaction seems to fail in Cacao. I'm currently using the production server. Where is a good place to go hunting for the issue? Am I doing something incredibly stupid? We haven't touched this activity yet. :worried:

screen shot 2014-06-16 at 4 11 24 pm

http://interactives.councilforeconed.org/activity/cacao/group/broad-particle/

(Nothing is being logged to the console.)

jugglinmike commented 10 years ago

Hmmm, I just completed a successful transaction. Steps to reproduce:

  1. Open http://interactives.councilforeconed.org/activity/cacao/group/broad-particle/ in one browser tab ("Tab A"). Note the Trader ID.
  2. Open the same URL in a second browser tab ("Tab B"). Note the Trader ID.
  3. In Tab A, set the value of "Trade with player" to the Trader ID displayed in Tab B. Set the Trade Amount to 20.
  4. In Tab B, set the value of "Trade with player" to the Trader ID displayed in Tab A. Set the Trade Amount to 20.
  5. In Tab B, press the "Trade!" button
  6. Within 5 seconds of Step #5, switch to Tab A and press the "Trade!" button.

Do those steps fail for you, Steve?

stevekinney commented 10 years ago

@jugglinmike Nothing made me happier than to discover it was some kind of human error on my part, because I've got it working now. :+1: Sorry for the false alarm!