mathiasbynens/jsperf.com

slug names are clipped; 'save test' doesn't know this and sends you to a 404 page

Opened this issue · 1 comments

How to reproduce:

  • create a test titled 'object indexing unboxed float64 vs boxed float object member'
  • doesn't matter: fill in anything so the form validates
  • save test
  • see 404 page.

User reaction: jsperf.com crashing? Let's try it again!

While actually the slug got truncated but the form apparently doesn't realize; while you get a 404 page and wonder what the heck is going on, it turns out the test is created, however with a truncated slug. (Go to 'My Tests' overview to see the created test)

BTW: the list in 'My Tests' will show each attempt ('how to reproduce' above) but all will be pointing at exactly the same (truncated) slug URL, so that list is now filled with duplicate entries.