spiral-project / daybed

Form validation and data storage API
http://daybed.rtfd.org/
BSD 3-Clause "New" or "Revised" License
52 stars 8 forks source link

PUT/POST /models/:modelid/records with an unknown field type in the model definition (stored in the database) raise a 500 #246

Closed Natim closed 10 years ago

Natim commented 10 years ago

Assuming somone added the definition with an unknown type.

magopian commented 10 years ago

Can you please give steps to reproduce the issue?

Natim commented 10 years ago

So basically put an invalid model inside the database and try to add a record.

leplatrem commented 10 years ago

How do you put an invalid model ?

Natim commented 10 years ago

We add this bug when we were adding the annotation field and switching branch. I think we can close this as Invalid cause it shouldn't happen.