Bug 96756 - JAHRE (german) - YEARS (engl.): Err:502 with date 01.01.0001, works with 02.01.0001
Summary: JAHRE (german) - YEARS (engl.): Err:502 with date 01.01.0001, works with 02.0...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Formula
  Show dependency treegraph
 
Reported: 2015-12-29 10:10 UTC by JohannesB
Modified: 2023-09-25 03:14 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Some examples when calculation does not work or work well (15.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-12-29 10:10 UTC, JohannesB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JohannesB 2015-12-29 10:10:31 UTC
Created attachment 121589 [details]
Some examples when calculation does not work or work well

Function JAHRE (german) / Function YEARS (engl.):  Err:502 

=JAHRE(A2;A4;1)
or 
=JAHRE(A2;A4;2)

Err:502 
in case of A2 = 01.01.0001
A4: any day tested

Works OK for:
in case of A2 = 02.01.0001 and any other day tested.
A4: any day tested
Comment 1 raal 2015-12-29 15:58:58 UTC
I can confirm with Version: 5.2.0.0.alpha0+
Build ID: 4c4f096a81e1643646f72cab17fb94610a346961
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-12-28_11:02:13
Comment 2 QA Administrators 2017-01-03 19:55:27 UTC Comment hidden (no-value, obsolete)
Comment 3 Thomas Lendo 2017-03-23 11:46:05 UTC
I can confirm it with

=JAHRE(A2;A4;0)
=JAHRE(A2;A4;1)
where A2 = 01.01.0001 and A4 = any date after A2

Result: Err:502

=JAHRE(x;y;2) doesn't exist anymore, see https://help.libreoffice.org/Calc/Add-in_Functions/de#JAHRE

Tested with LibO 5.3.1.2
Build-ID: e80a0e0fd1875e1696614d24c32df0f95f03deb2
CPU-Threads: 8; BS-Version: Windows 6.2; UI-Render: Standard; Layout-Engine: neu; Gebietsschema: de-DE (de_DE); Calc: CL
Comment 4 QA Administrators 2018-05-31 02:52:50 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2020-05-31 03:45:00 UTC Comment hidden (obsolete)
Comment 6 Andreas Heinisch 2021-09-23 18:34:59 UTC
Ongoing discussion: https://gerrit.libreoffice.org/c/core/+/122476/
Comment 7 Andreas Heinisch 2021-09-24 09:18:07 UTC
Resetting to default, since there are a lot of decisions and places to change in order to make this work, and Imho it's beyond my (time) capabilities.
Comment 8 QA Administrators 2023-09-25 03:14:01 UTC
Dear JohannesB,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug