[Libreoffice-bugs] [Bug 115710] Use of WEBSERVICE within a macro in CALC raises an " Illegal argument" exception

2018-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115710

Eike Rathke  changed:

   What|Removed |Added

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

--- Comment #3 from Eike Rathke  ---
A LinkManager is available only in a "real" spreadsheet document, which we
don't have for the stripped down FunctionAccess service's interim document. Not
sure if that can be solved satisfactorily, certainly we don't want to execute
the function without it being able to add the link and retrieve data from it in
a normal document, but I'll investigate.

-- 
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 115710] Use of WEBSERVICE within a macro in CALC raises an " Illegal argument" exception

2018-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115710

Xisco Faulí  changed:

   What|Removed |Added

   Keywords|bibisectRequest |bibisected, bisected

-- 
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 115710] Use of WEBSERVICE within a macro in CALC raises an " Illegal argument" exception

2018-02-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115710

Aron Budea  changed:

   What|Removed |Added

   Keywords||bibisectRequest, regression
 Status|UNCONFIRMED |NEW
 CC||ba...@caesar.elte.hu,
   ||caol...@redhat.com,
   ||xiscofa...@libreoffice.org
Version|6.0.1.1 release |5.4.5.1 release
 Ever confirmed|0   |1

--- Comment #2 from Aron Budea  ---
Confirmed in LO 6.0.1.1 / Windows 7.
No error in 6.0.0.3.
=> regression

Debugging pointed to the following piece of code:
https://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr7.cxx#280
if (!mpLinkManager)
{
PushError(FormulaError::NoValue);
return;
}

mpLinkManager is empty in this case.

This code was introduced in the following commit. Caolán, can you please take a
look?

https://cgit.freedesktop.org/libreoffice/core/commit/?id=93ea7cb6b5ab3c9b964b2b38e8f4a3bde71dbadf
author  Caolán McNamara 2018-01-11 20:43:28
+
committer   Caolán McNamara 2018-01-12 16:19:37
+0100

handle ocWebservice similarly to ocDde

-- 
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 115710] Use of WEBSERVICE within a macro in CALC raises an " Illegal argument" exception

2018-02-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115710

Albatros  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=10
   ||4989

-- 
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 115710] Use of WEBSERVICE within a macro in CALC raises an " Illegal argument" exception

2018-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115710

--- Comment #1 from Stang  ---
I can confirm the problem.  Please refer to the previous link containing my
test results.

>From link:

There was a bug report (#104989) filed & fixed a while back. Using this code
from the bug report:

Sub Main
svc = createUnoService( "com.sun.star.sheet.FunctionAccess" ) 'Create a service
to use Calc functions
XML_String =
svc.callFunction("WEBSERVICE",array("http://www.lipsum.com/feed/xml?amount=2=paras=Yes;))
Lipsum = svc.callFunction("FILTERXML", array(XML_String, "/feed/lipsum" ))
Print Lipsum
End Sub
Does work in LO v5.4.3.2 but causes an error in v5.4.5.1 and this dev version:

Version: 6.0.1.0.0+
Build ID: d51c01846afb9bea5a39fd48fbb30b9fd02c2870
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:libreoffice-6-0, Time:
2018-02-08_10:01:18
Locale: en-US (en_US.UTF-8); Calc: group
with the error being:

BASIC runtime error.
An exception occurred 
Type: com.sun.star.lang.IllegalArgumentException
Message: .
pointing to line:

 XML_String =
svc.callFunction("WEBSERVICE",array("http://www.lipsum.com/feed/xml?amount=2=paras=Yes;))

-- 
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