Bug 70515

Summary: UI: Error in stated number of parameter value choices for WEEKNUM_ADD function in the Function Wizard.
Product: LibreOffice Reporter: John Smith <clicksafe>
Component: CalcAssignee: Julien Nabet <serval2412>
Status: RESOLVED FIXED    
Severity: normal CC: serval2412
Priority: medium    
Version: 4.1.1.2 release   
Hardware: All   
OS: All   
Whiteboard: BSA target:4.2.0
Crash report or crash signature: Regression By:
Attachments: An ODT document, illustrating with screenshots, the steps described above.

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.