Bug 70515 - UI: Error in stated number of parameter value choices for WEEKNUM_ADD function in the Function Wizard.
Summary: UI: Error in stated number of parameter value choices for WEEKNUM_ADD functio...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: All All
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: BSA target:4.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 22:37 UTC by John Smith
Modified: 2013-10-18 20:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
An ODT document, illustrating with screenshots, the steps described above. (77.29 KB, application/vnd.oasis.opendocument.text)
2013-10-15 22:37 UTC, John Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2013-10-15 22:37:26 UTC
Created attachment 87703 [details]
An ODT document, illustrating with screenshots, the steps described above.

Problem description: 
The number of choices stated in the Function Wizard for WEEKNUM_ADD's Return type parameter is wrong.
Steps to reproduce:
1. In an open instance of Calc open the Function Wizard.
2. Select the WEEKNUM_ADD function by double-clicking it.
3. Click in the Return type box to bring up the explanation text.

Current behavior:It displays the information that there are three choices.

Expected behavior:It should display only two choices are available.

              
Operating System: Windows XP
Version: 4.1.1.2 release
Comment 1 Julien Nabet 2013-10-17 18:20:25 UTC
On pc Debian x86-64 with master sources updated today, I reproduced this.
Comment 2 Commit Notification 2013-10-18 20:14:16 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=ff901a00ae1af1873346c513b884c829cf5dd86b

fdo#70515: Error in stated number of parameter value choices for WEEKNUM_ADD



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.