There is a bug while we try to add a New related record (when you are in the related record list).
The bug is happening with the following condition:
Field type (from database) is "text" and NULL is not allowed
=> 1st bug: this field does not appear as "required" automatically
indeed, if we do not fill it, this leads to a crash in PHP
then, I tried to forced the"required" putting validators:required=1 within the field definition.
Then, I wanted to use ckeditor for this field: widget:type=ckeditor
This works perfectly if we add a New record from the main view.
=> 2nd bug: if we add a New related record from the related list view,
even if we fill-in the text field with some data, as soon as we clic on "Save", the following message pop-up:
"Invalid information entered.
Illegal input for field xxx
Please correct these fields."
What is strange is if we clic once again on "Save", without any modification, it works: record is properly saved.
This behavior does not occur if we add a New record from the main view: in this case, no bug happens.
Also, when we use the "save" button embedded in the ckeditor, the bug does not occur.
There is a bug while we try to add a New related record (when you are in the related record list). The bug is happening with the following condition: Field type (from database) is "text" and NULL is not allowed
=> 1st bug: this field does not appear as "required" automatically
indeed, if we do not fill it, this leads to a crash in PHP
then, I tried to forced the"required" putting validators:required=1 within the field definition. Then, I wanted to use ckeditor for this field: widget:type=ckeditor
This works perfectly if we add a New record from the main view.
=> 2nd bug: if we add a New related record from the related list view, even if we fill-in the text field with some data, as soon as we clic on "Save", the following message pop-up:
"Invalid information entered.
What is strange is if we clic once again on "Save", without any modification, it works: record is properly saved.
This behavior does not occur if we add a New record from the main view: in this case, no bug happens. Also, when we use the "save" button embedded in the ckeditor, the bug does not occur.
refer to https://groups.google.com/forum/#!topic/xataface/sepERYDsjm4