Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs with ckeditor while adding new related record #107

Open
Pierrick-R opened this issue Feb 4, 2019 · 0 comments
Open

Bugs with ckeditor while adding new related record #107

Pierrick-R opened this issue Feb 4, 2019 · 0 comments

Comments

@Pierrick-R
Copy link

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
capture

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.

refer to https://groups.google.com/forum/#!topic/xataface/sepERYDsjm4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant