flowable / flowable/flowable-engine
An empty textfield sends empty string instead of null
- 主要言語
- Java
- スター
- 9.5k
- フォーク
- 2.9k
- 平均マージ
- 7時間 8分
- マージ済み PR(30日)
- 2
説明
Hello, I think i have found a minor bug regarding textfields in forms.
If you completely ignore the field and start a process, the field value is null, same if you click on the field but don't type anything.
The problems appears when you start writing in the field, and then clear the field completely.
Now the field sends an empty string instead "".
I would assume that it should eigher always send an empty string, or always send null. Since the field is empty in all cases.
I've tried it myself a few times by logging the variable value.
If you have any questions, just ping me.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
変更せずに放置したテキストフィールド、入力せずにフォーカスしたテキストフィールド、そしてクリアする前に値を入力したテキストフィールドを使って、フォームの動作を再現します。それぞれの場合に送信された値を比較し、クリアされたフィールドがどこでシリアライズされるかを特定します。空のフィールドの動作に一貫性があり、回帰テストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100