Opened 9 years ago
Last modified 9 years ago
#14280 confirmed Bug
Unclear error message when image size is changed to an incorrect value
Reported by: | Anjaneyulu | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | 4.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- click on insert image.
- under image Info tab,give image url and set width or height as 0.
- click Ok.
Expected result
should show valid message saying "Width must be greater than 0"
Actual result
Shows a message saying "Width must be a number."
Change History (2)
comment:1 Changed 9 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.6.0 (GitHub - major) → 4.0 |
comment:2 Changed 9 years ago by
Summary: | While inserting image with width/height as 0 ,editor shows a pop saying "Width must be a number".it should show a valid message saying width must be greater than 0 → Unclear error message when image size is changed to an incorrect value |
---|
We are using a single message for all the width/height problems
invalidWidth: 'Width must be a number.'
.Perhaps we could change it to
Width must be a number or a number greater than 0
or something better.I'm not sure if this will work but if we would want to make this message narrower perhaps we could use
Width must be a number <br>or a number greater than 0