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

  1. click on insert image.
  2. under image Info tab,give image url and set width or height as 0.
  3. 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 Jakub Ś

Status: newconfirmed
Version: 4.6.0 (GitHub - major)4.0

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

comment:2 Changed 9 years ago by Anna Tomanek

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 0Unclear error message when image size is changed to an incorrect value
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy