Bug 95540 - linked subform with "analyze SQL: no" -> error "parameter index out of range"
Summary: linked subform with "analyze SQL: no" -> error "parameter index out of range"
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 10:49 UTC by Paulo Martins
Modified: 2016-10-10 11:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo Martins 2015-11-03 10:49:03 UTC
When opening a base form document which has linked forms, where the subform has property "analyze SQL" set to "no", we get an error message "parameter index out of range".

With PostgreSQL driver. Lionel Mamane thinks it is probably so with all drivers, and that the problem is in the code that creates a request to reload "just one line"; when "analyze SQL" is set to "no", it does not know how to create the correct WHERE clause, but we could try something like:


SELECT * FROM (___here__blackbox__sql__that__is__not__parsed___) AS "__some_unique_name__" WHERE (...)
Comment 1 Alex Thurgood 2015-11-04 14:32:42 UTC
@Paulo : could you give us a sample ODB file where we could test this, preferably using embedded hsqldb ?
Comment 2 Xisco Faulí 2016-09-11 19:45:54 UTC Comment hidden (obsolete)
Comment 3 Xisco Faulí 2016-10-10 11:11:35 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20161010