Bug 92264 - Reload() method does not load changed query
Summary: Reload() method does not load changed query
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-22 23:31 UTC by vlad
Modified: 2023-12-04 03:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Trying it in OpenOffice and LibreOffice,to understand me better. (18.91 KB, application/vnd.sun.xml.base)
2015-06-22 23:31 UTC, vlad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vlad 2015-06-22 23:31:22 UTC
Created attachment 116745 [details]
Trying it in OpenOffice and LibreOffice,to understand me better.

In OpenOffice,when you type something in first field(Comienza por),the below table is updating by a LIKE SQL command.In LibreOffice it does not work.
The construction is:
--There is a query,with a SQL command.
--This form has a source the same query.
--By macro,we changing the value of query,so after,we reload() the Form.
--In openOffice,after reload,Form fets the new value of query,then is updating correctly.
--Same command in LibreOffice does not updating the SQL-command of query,it is possible only after closing the form or switching to design mode.
--If you put a print instruction in different macro points you can see that:
----after reload() method the new value of SQL-command of the query is updated(correct)
-----the new value of Form is the old query value(wrong).
In OpenOffice 4.1.1 works nice,but in LibreOffice 4.3.7 no.
Comment 1 Robert Großkopf 2015-06-23 16:40:58 UTC
Have tested a little bit.
Seems LOBase doesn't recognize you have changed the query. You could try this with
msgbox oForm.ActiveCommand

Why don't you set 
oForm.Filter ...
oForm.applyFilter = True
?

I could confirm the buggy behavior for all LO-versions since 4.2.0.0 beta2.
Filtering by changing the query works right with LO 4.1.6.2, so a regression.

My system: OpenSUSE 13.2 64bit rpm Linux. So changed system to "All".
Comment 2 vlad 2015-06-23 22:29:24 UTC
Thanks Robert,and greetings from italian OpenOffice forum.
The bug I found is an example of a forum's user.
I just want to understand why it not works in LO.
Your solution is very nice,in fact I changed after,by macro,the SQL-command of Form,so it will updated directly,without any needing of Query.
Still don't know where the mistake is.
Kind regards.
Comment 3 Mauricio Baeza 2016-02-16 22:09:18 UTC
Confirm this bug in LibreOffice 5.0.4 y LibreOffice 5.1
Comment 4 QA Administrators 2017-03-06 15:36:01 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-12-03 14:41:33 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2021-12-03 04:38:26 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2023-12-04 03:17:05 UTC
Dear vlad,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug