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

【フォーム】フィールド設定にて、「表示サイズ」に数値以外を入力するとシステムエラーになる #1692

Closed
shun-ue opened this issue Apr 23, 2021 · 2 comments
Assignees
Labels
Bug バグ

Comments

@shun-ue
Copy link
Contributor

shun-ue commented Apr 23, 2021

概要

width="100%" を設定しようと、「表示サイズ」に「100%」と入力した際に発覚(「表示サイズ」はcols属性を設定する項目のため数値以外は入力しない想定)

baserCMS version : 4.4.5

TODO

-「表示サイズ=width」という勘違いは今後も発生しうる気がします。名称を変更したほうがいいかもしれません。ヘルプテキストもいいかもしれません。
-「表示サイズ」に数値以外を入れた際のバリデーションが必要かと思います

@kaburk
Copy link
Collaborator

kaburk commented May 12, 2021

@cu-morishita

こちら確認してみましたが、再現しないようでした。
cols属性を設定との記載があるので、テキストエリアの表示サイズのことかと思いますが、100% を入力して保存したら、100で保存されるようでした。

ただ、バリデーションは必要かと思われます。

スクリーンショット 2021-05-12 13 51 14

スクリーンショット 2021-05-12 13 51 27

スクリーンショット 2021-05-12 13 51 39

@kaburk
Copy link
Collaborator

kaburk commented Jun 30, 2021

あ、MySQLとかでSQLモードをstrictモードで設定とかしてるとシステムエラーになりますね…。

@kaburk kaburk added the Bug バグ label Jun 30, 2021
@kaburk kaburk self-assigned this Jul 7, 2021
@gondoh gondoh closed this as completed in 94fbe16 Jul 28, 2021
gondoh added a commit that referenced this issue Jul 28, 2021
fix #1692【フォーム】フィールド設定にて、「表示サイズ」に数値以外を入力するとシステムエラーになる件の修正
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug バグ
Projects
None yet
Development

No branches or pull requests

2 participants