cb_admin icon indicating copy to clipboard operation
cb_admin copied to clipboard

"1. Invalid data type for [parameter_name]" with typespec boolean().

Open skull-squadron opened this issue 13 years ago • 3 comments

In the create view http://localhost:8001/admin/model/create/example, are there values the form which would be accepted as the boolean atoms?

The error message doesn't give the user enough information to resolve this on their own.

src/model/example.erl:

-module(example, [Id, Name, Description, Notes, Enabled::boolean()]).
-compile(export_all).

skull-squadron avatar Oct 22 '12 03:10 skull-squadron

This is a bug in the admin interface.

evanmiller avatar Jan 17 '13 20:01 evanmiller

No worries... Chicago wasn't built in a day. ; )

skull-squadron avatar Jan 21 '13 23:01 skull-squadron

Same error appears also for the datetime() fields. Both of update and create actions. screenshot from 2015-01-08 01 11 27

drlinux avatar Jan 07 '15 23:01 drlinux