sparkfun / phant

the data logging engine behind data.sparkfun.com
700 stars 99 forks source link

Don't erase fields on failed create channel #41

Closed nseidle closed 10 years ago

nseidle commented 10 years ago

When creating a feed, if there is a problem please don't clear all the info I've typed in. Please just indicate which box needs attention.

Today when creating a new stream I used a tag with a space in the name and got this code:

Creating stream failed - invalid tag name: event trigger. valid characters are _, a-z, A-Z, and 0-9

And lost all the description, etc I had inputted.

toddtreece commented 10 years ago

fixed by sparkfun/phant-manager-http@24165cf5cf091f9f0c6c41c4eee4c16d64ae3a98

the form should now retain the values posted after errors. the error is happening because you have a space in the tag name. i'll try to make that error a little easier to understand, but the main issue is fixed