https://bugs.documentfoundation.org/show_bug.cgi?id=67647

Lionel Elie Mamane <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |skillJava

--- Comment #6 from Lionel Elie Mamane <[email protected]> ---
To summarise and make things clear:

The EasyHack part of this bug is:

1) Take the implementation of "getStructuredFilter" in file
dbaccess/source/core/api/SingleSelectQueryComposer.cxx and change it to not
include the operator in the "Value" member, so that it produces the format that
is expected by setStructuredFilter. This will require:

1.1) Going into the getStructuredCondition function
1.2) See what other callers getStructuredCondition has, and check if these
other callers should also not get the operator in the value member (probably
so...).

2) Check all callers of getStructuredFilter and remove the kludges they do to
remove the operator themselves. For that, do a "git grep getStructuredFilter".
There is currently , C++ code but also Java code.

3) "Optiona" but would make the work really complete: make a unittest that
tests that setStructuredFilter(getStructuredFilter()) is a no-op.

Sorry I rambled in description (comment 0) about an eventual new API. Anybody
wanting to propose (and implement) a new API is most welcome too, but this is
beyond the scope of an EasyHack.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to