flowable / flowable/flowable-engine
An empty textfield sends empty string instead of null
- Langage dominant
- Java
- Étoiles
- 9.5k
- Forks
- 2.9k
- Merge moyen
- 7 h 8 min
- PR mergées (30 j)
- 2
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduisez le comportement du formulaire avec un champ de texte qui est laissé inchangé, mis au point sans saisie, puis rempli avant d’être vidé. Comparez les valeurs soumises dans chaque cas et identifiez où le champ vidé est sérialisé. La tâche est terminée lorsque le comportement du champ vide est cohérent et couvert par un test de régression.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100