[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

Eike Rathke  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |er...@redhat.com
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

--- Comment #8 from Eike Rathke  ---
fa.setPropertyValue("IsArrayFunction", False)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

--- Comment #7 from Wolfgang Jäger  ---
I tried

fa = createUnoService("com.sun.star.sheet.FunctionAccess")
fa.IsArrayFunction = False

but got "Property or method not found: IsArrayFunction."

This was the behaviour with versions 3.3 , 5.4.4, and 6.3.3.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

--- Comment #6 from Eike Rathke  ---
It's an optional property at the service, just try to set it.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

--- Comment #5 from Wolfgang Jäger  ---
(In reply to Eike Rathke from comment #4)
> ...
> you can change that by setting the com.sun.star.sheet.FunctionAccess
> property IsArrayFunction to false. ...

Cannot access this property. It is not shown in the IDE and not listed in the
PropertySetInfo of a FunctionAccess object.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

Eike Rathke  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||8624
  Component|BASIC   |Calc

--- Comment #4 from Eike Rathke  ---
A tad unfortunate.. callFunction() per default is executed in array mode, you
can change that by setting the com.sun.star.sheet.FunctionAccess property
IsArrayFunction to false. See
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1sheet_1_1FunctionAccess.html#a7f24813b5c506f8f0d3eb81f864c741e

Nevertheless, we maybe could let RAND() return a scalar double even in array
mode if a 1x1 matrix is hit, for better backwards compatibility.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

Oliver Brinzing  changed:

   What|Removed |Added

   Keywords||bibisected, bisected
 CC||er...@redhat.com

--- Comment #3 from Oliver Brinzing  ---
that looks like an intended change, started with:

https://gerrit.libreoffice.org/plugins/gitiles/core/+/2dc7a3b7515ffd6181d740aca4ad6e0549ea4a3a

commit  2dc7a3b7515ffd6181d740aca4ad6e0549ea4a3a[log]
author  Eike Rathke 
Tue Jul 10 15:58:17 2018 +0200
committerMarkus Mohrhard  
Fri Jul 13 22:00:45 2018 +0200
treef23c859f0338062a38e773db4f3e126bbdfbd9e1
parent  4e4421325d406cc555f15c2b8b5bbab443eb6a7d [diff]

Resolves: tdf#118624 let RAND() in array/matrix mode fill a matrix

... instead of only top left that is referenced for other
elements.

Change-Id: I718946d7e4327b152e2d9f80712395fd7ab67dee
Reviewed-on: https://gerrit.libreoffice.org/57235
Tested-by: Jenkins
Reviewed-by: Eike Rathke 
(cherry picked from commit 8afccbd129ecda81ff00dd2c6e5e10af254ae0ef)
Reviewed-on: https://gerrit.libreoffice.org/57247
Reviewed-by: Markus Mohrhard 

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

Oliver Brinzing  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Keywords||regression
 Ever confirmed|0   |1
 CC||oliver.brinz...@gmx.de

--- Comment #2 from Oliver Brinzing  ---
confirming

> The youngest version I could test with and which did not 
> show the bug was 6.0.4.2.

btw: works with LO 6.0.7.3 too

but still reproducible with:

Version: 6.4.0.0.alpha1+ (x64)
Build ID: 40b469fdb6dec080a90542935f94d497aa067ef4
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.

2019-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128218

Wolfgang Jäger  changed:

   What|Removed |Added

Version|6.4.0.0.alpha0+ Master  |6.1.2.1 release
 CC||j...@psilosoph.de

--- Comment #1 from Wolfgang Jäger  ---
As just tested the bug was already present in V 6.1.2.1.
Version field changed.

The youngest version I could test with and which did not show the bug was
6.0.4.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs