-
Notifications
You must be signed in to change notification settings - Fork 578
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
Malfunctioning "invalid date" error message in structured document editor (since 9.0.1 up to 9.5.1) #240
Comments
steps to reproduce the bug:
This bug may be related to the fact that the Date element in blog.xsd has a solrfield mapped in searchsettings. |
This bug is still present in OpenCms 9.5.0, you can see it using a blog entry in the demo site. |
We changed date select widgets with invalid dates to be more visible in the upcoming OpenCms 9.5.1. |
This bug is still present in 9.5.1. |
This should finally work correctly in the upcoming version 9.5.3. |
In the structured document editor, if an invalid date is manually entered (not using the date picker), the error message is not visible when the mouse cursor is not hovering over the date field. Moreover, the "save" button is not disabled, so the user can save the document without realizing that the saved date will not be what he expected (it will silently remain with the value it had before opening the editor).
Sometimes, instead, the "save" button is disabled (as it should be) and it is not easy to understand that the problem lies in a wrong date.
I wasn't able to reliably reproduce the conditions when the "save" button gets disabled and when not; in either case, the "wrong date format" error message should be prominent and inhibit the "save" button.
The text was updated successfully, but these errors were encountered: