learningequality / studio

Content curation tools for Kolibri
https://studio.learningequality.org/
MIT License
114 stars 163 forks source link

Unable to add multiple topics at once #794

Closed laurenlichtman closed 6 years ago

laurenlichtman commented 6 years ago

Summary

I tried to stress test the "Add a topic" button and was unable to save my newly created topics.

Category

BUG

Usage Details

Please give details about how you were using Studio.

Traceback or relevant snippet from browser console

/api/contentnode:1 Failed to load resource: the server responded with a status of 500 ()
c8afd2f:1 Uncaught (in promise) error
/api/contentnode:1 Failed to load resource: the server responded with a status of 500 ()
c8afd2f:1 Uncaught (in promise) error
/api/contentnode:1 Failed to load resource: the server responded with a status of 500 ()
c8afd2f:1 

How to reproduce

  1. Create a new channel
  2. Click "Add a topic" button
  3. Within "Adding Topics," I clicked "+Topic" 10 times
  4. Press save and error appeared: "Save failed. There was a problem saving your content."

Note: I also tried creating a new topic (only one) and still received the same error message so I'm not sure if on my end...

Screenshots

stresstest

Real-life consequences (anything community should be aware of, for instance how it affects end users)

Not a seamless user experience.

laurenlichtman commented 6 years ago

@lauradanforth was able to add a topic in a different channel using the "Add a topic" button without a problem.

jayoshih commented 6 years ago

Fixed