nodesign / weio

weio
http://we-io.net
128 stars 35 forks source link

Empty field when duplicating projects causes error #151

Closed ukicar closed 9 years ago

ukicar commented 9 years ago

When duplicating project if only empty field is given WeIO calls root directory and this is bad. We need to isolate this case

nmarcetic commented 9 years ago

Can you pls describe "only empty field is given", empty filed for project name ?

ukicar commented 9 years ago

If you forget to give a name of project. No name provokes error

nmarcetic commented 9 years ago

Ok, all clear. I can do some validation, is that acceptable ?

nmarcetic commented 9 years ago

I mean on both side python and js validation.

ukicar commented 9 years ago

In the case of creating new project it's just rejected but no error message is shown. We can at least say with alert that field is empty

nmarcetic commented 9 years ago

Ok agree. I will make those changes.

nmarcetic commented 9 years ago

It's should be ok now, pull request sent.