[Libreoffice-bugs] [Bug 117878] Change of behaviour in function DateSerial.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 22 20:51:26 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=117878

--- Comment #3 from Luis <luismiguel.lacosta at gmail.com> ---
Test document provided.
The document has 5 buttons with attached macros:

Button 1: "Call DateSerial(2018,02,28)" macro that calls function
DateSerial(2018,02,28)

Button 2: "Call DateSerial(2018,02,29)" macro that calls function
DateSerial(2018,02,29)

Button 3: "Call DateSerial(2018,02,30)" macro that calls function
DateSerial(2018,02,30)

Button 4: "Call DateSerial(2018,02,31)" macro that calls function
DateSerial(2018,02,31)

Button 5: "Call DateSerial(2018,02,32)" macro that calls function
DateSerial(2018,02,32)

Results on LO 5.3.0.3 (correct behavior):

Pressing button 1 returns the date of February 28
Pressing button 2 returns the date of March 1
Pressing button 3 returns the date of March 2
Pressing button 4 returns the date of March 3
Pressing button 5 halts macro with the error message: "Action not supported.
Invalid procedure call."

Results on LO 5.4.0.3 and 6.4.0.2 (incorrect behavior):

Pressing button 1 returns the date of February 28
Pressing button 2, 3, 4 or 5 halts macro with error message "Action not
supported. Invalid procedure call."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180622/3e372c75/attachment.html>


More information about the Libreoffice-bugs mailing list