hwgilbert16 / scholarsome

Web-based interactive flashcard learning software
http://scholarsome.com
GNU Affero General Public License v3.0
516 stars 29 forks source link

Unintended caching of failed Quizlet imports #75

Closed hwgilbert16 closed 10 months ago

hwgilbert16 commented 11 months ago

Steps to recreate (As far as I know at least)

  1. Add an invalid formatted Quizlet export, which has a semicolon in a definiton (maybe term too, haven't checked)
  2. Attempt to import into Scholarsome. Fails as expected
  3. Fix error in Quizlet and re-export properly this time
  4. Attempt to import into Scholarsome. Improperly fails, even though it is valid
  5. Re-opening the import dialog and re-pasting doesn't fix it
  6. Refreshing (or maybe hard-refresh?) the page fixes it, trying to import the valid Quizlet export works as expected now

I think it would also be nice to have either a more detailed error message or like a highlighter telling you where and how it failed.

Originally posted by @RannyBergamotte in https://github.com/hwgilbert16/scholarsome/issues/74#issuecomment-1842724750

hwgilbert16 commented 11 months ago

May have been fixed in 823efde4454147bc1b1a3497623feb8d2cf98e80, thinking that this issue was most likely a side effect of the forced semicolon discriminator. Will check back on this after the next release.