Bug 150588 - Date control. It is not possible set "Date max" property a value greater than 1/1/9999
Summary: Date control. It is not possible set "Date max" property a value greater than...
Status: CLOSED DUPLICATE of bug 150587
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-24 22:15 UTC by jcsanz
Modified: 2022-08-24 22:36 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcsanz 2022-08-24 22:15:43 UTC
Description:
In a Date control, in design mode, if try to set "Date max" property to a value greater than 1/1/9999 it changes to 1/1/9999 without any warning. Also is is not possible to delete "Date max" value.
So, in production, the maximum date that is possible to introduce in a date control is 1/1/9999.

Steps to Reproduce:
1. Create a writer document (or a Base form, or a Basic form, or may be in Calc or Impress)
2. Insert a Date field control
3. In design mode, set "Date max" property value greater than 1/1/9999
4. Lost focus on "Date max" property, the value is changed to 1/1/9999 without any warning
5. Close design mode
6. Introduce a date greater than 1/1/9999 and push Enter, the date is changed to 1/1/9999 without any warning


Actual Results:
* Not possible to set a greater than 1/1/1600 "Date max" property value
* Not possible to introduce a value lower than 1/1/9999 in a date field control


Expected Results:
* Set any "Date max" property value, also no value (no limit) or at least from "1/1/0001" to "31/12/9999" which is the range in most of databases
* Introduce any date in the control


Reproducible: Always


User Profile Reset: No



Additional Info:
Now it is not possible to introduce a date like 9/9/9999. This date is used frequently by database users to indicate a "no date" value or the last value (no end) in a "from-to" combination of values.

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL
Comment 1 Eike Rathke 2022-08-24 22:36:24 UTC

*** This bug has been marked as a duplicate of bug 150587 ***