Issue 79240 - Datapilot with datasource query and named or unnamed parameters malfunctions
Summary: Datapilot with datasource query and named or unnamed parameters malfunctions
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: viewing (show other issues)
Version: OOo 2.2.1
Hardware: PC Windows XP
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL: http://www.oooforum.org/forum/viewtop...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 21:56 UTC by ftoth
Modified: 2009-11-24 13:25 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ftoth 2007-07-04 21:56:24 UTC
When the datapilot is setup to connect to a datasource of type query that
contains a named parameter (WHERE column = :criterium) of unnamed (WHERE column
= ?) it fails with a message like unknown parameter or so.

The expected behavior is to pop up the parameter dialog box.

This occurs with the databases mentioned in the url above, as well as postgresql
using the JDBC driver (my project).

Ferry
Comment 1 Mechtilde 2009-04-13 09:39:37 UTC
@ sweigel

add to CC
Can you have a look at it?
Comment 2 Stefan Weigel 2009-08-31 19:33:28 UTC
fs, pse have a look!

Seems to me, that this is not related to Datapilot and not related to Calc.

So: Wrong component? Rather: Component = Database access?

OOo seems not to be able to get data from a query with a paramater in the
database backend.

So: Wrong issue type? Rather: Issue type = Feature?

Comment 3 Frank Schönheit 2009-09-02 09:17:06 UTC
Hmm, is this issue still valid? It was reported for 2.2.1, and trying the data
pilot in OOo 3.1, which a query containing an anonymous parameter, pops up the
usual parameter dialog asking for user input. (The dialog opens two times, which
is once to often of course.)

Don't know too little about how the data pilot is expected to work to judge
whether the result is correct, though.
Comment 4 villeroy 2009-10-07 18:20:38 UTC
Base uses named parameters and they do work with data pilots.
SELECT * FROM "Table" WHERE "Field"=:param
Comment 5 ftoth 2009-11-06 22:48:05 UTC
Yes I can confirm this issue has been fixed. I do not know in which version.

Thanks all, for fixing the unconfirmed(!) issue .

Ferry
Comment 6 Mechtilde 2009-11-24 13:24:53 UTC
so I set to fixed
Comment 7 Mechtilde 2009-11-24 13:25:43 UTC
-> closed