Bug 125942 - Function names are converted to lowercase and so not working
Summary: Function names are converted to lowercase and so not working
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-15 21:11 UTC by Sophia Schroeder
Modified: 2020-03-08 02:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
A (WIP) template for calculating monthly costs (854.85 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-06-15 22:05 UTC, Sophia Schroeder
Details
Template 2 with internal links, feel free to play (858.38 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-06-16 11:48 UTC, Sophia Schroeder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sophia Schroeder 2019-06-15 21:11:21 UTC
Description:
Putting in a function like "=SUM(...)" or "=WEEK(...) always lead to converting the function names to lowercase "=sum(...)" or "=week(...)"
The Error code "#NAME?" occurs instaed of the expected calculation.

Steps to Reproduce:
1. Open Calc
2. Create some values
3. Try to make calculations like sum them.

Actual Results:
The error code "#NAME?" appears in the corresponding cell. Overwriting the function section of the formula with uppercase doesn't work. They are converted to lowercase and fail.

Expected Results:
Calculate with the values as the function should do.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes
Comment 1 Sophia Schroeder 2019-06-15 21:27:37 UTC
P.S. Only self-typed functions are affected.

I am running Windows 10 64Bit Build 18917.1000 currrently if that matters.
Comment 2 Sophia Schroeder 2019-06-15 22:05:44 UTC
Created attachment 152214 [details]
A (WIP) template for calculating monthly costs

It contains personal data. I don't care.
Netherless, probably a more or less good template, too.
So, CC0, MPL2.0+, whatever. WIP
Comment 3 Oliver Brinzing 2019-06-16 07:42:49 UTC
in your example, the formula syntax in cell H45 =week(1,070,2019;31,070,2019;1) is not correct - this should work:

=WEEKS(DATEVALUE("1.7.2019");DATEVALUE("31.7.2019");1)

or referencing dates e.g.:
A49 01.07.2019
A50 31.07.2019
=WEEKS(A49;A50;1)
Comment 4 Sophia Schroeder 2019-06-16 07:54:19 UTC
(In reply to Oliver Brinzing from comment #3)
> in your example, the formula syntax in cell H45
> =week(1,070,2019;31,070,2019;1) is not correct - this should work:
> 
> =WEEKS(DATEVALUE("1.7.2019");DATEVALUE("31.7.2019");1)
> 
> or referencing dates e.g.:
> A49 01.07.2019
> A50 31.07.2019
> =WEEKS(A49;A50;1)

This is what I mean: It is autoconverted in lowercase. 

But will just try your suggestion with the latest daily.

Copypasting works, fine.
Now self-typing, works too, hm.

No longer autoconverting, even with the SUM function. \o/ 
Will close it for now as WFM, reopen if this will happen again.

Thank you for your help. :-D
Comment 5 m_a_riosv 2019-06-16 09:43:16 UTC
I don't remember how to, but I have had such kind of issue editing with functions in Spanish, and only editing again an introducing without change solved the issue.out change solved the issue.
Comment 6 Sophia Schroeder 2019-06-16 11:45:53 UTC
Working further with the document, 
I find all kinds of problems, including the described.
Comment 7 Sophia Schroeder 2019-06-16 11:48:39 UTC
Created attachment 152228 [details]
Template 2 with internal links, feel free to play

Feel free to play
Comment 8 Oliver Brinzing 2019-06-16 12:48:18 UTC
playing with second attachment i noticed:

- Format Cells/Number/Language is: English

- LO 6.1/6.2: cell G22 =DAYS("30.06.2019";NOW())*0,99 results in #VALUE!
- LO 6.3/6.4: cell G22 =DAYS("30.06.2019";NOW())*0,99 results in 13,25
-> seems like the DateteValue() conversion is no longer necessary
Comment 9 Xisco Faulí 2019-06-26 08:45:51 UTC
You can't confirm your own bugs. Moving it back to UNCONFIRMED until someone
else confirms it.
Comment 10 Xisco Faulí 2019-08-09 11:51:57 UTC
(In reply to Oliver Brinzing from comment #8)
> playing with second attachment i noticed:
> 
> - Format Cells/Number/Language is: English
> 
> - LO 6.1/6.2: cell G22 =DAYS("30.06.2019";NOW())*0,99 results in #VALUE!
> - LO 6.3/6.4: cell G22 =DAYS("30.06.2019";NOW())*0,99 results in 13,25
> -> seems like the DateteValue() conversion is no longer necessary

Hi Sophia,
Could you please try that ?
Comment 11 QA Administrators 2020-02-06 03:36:23 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2020-03-08 02:51:25 UTC
Dear Sophia Schroeder,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp