Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qgis vector datasource - Fix getting the table for sub-queries with escaped double-quotes #3925

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

mdouchin
Copy link
Collaborator

When retrieving the table property of a QGIS vector layer, if the table contained a complex sub-query with parenthesis and escaped double-quotes, Lizmap used a truncated version of the full sub-query.

This PR allows to handle this complex queries, with a new PHP unit-test for this use-case

Funded by CIRAD https://www.cirad.fr/

@github-actions github-actions bot added the tests unit tests and docker configuration for tests label Oct 12, 2023
@github-actions github-actions bot added this to the 3.7.0 milestone Oct 12, 2023
@Gustry Gustry added the sponsored development This development has been funded label Oct 12, 2023
@mdouchin mdouchin force-pushed the fix-datasource-postgresql-subquery branch from 1180b0c to 5c81b2b Compare October 12, 2023 14:53
@mdouchin mdouchin self-assigned this Oct 12, 2023
@mdouchin mdouchin added the run end2end If the PR must run end2end tests or not label Oct 12, 2023
@Gustry
Copy link
Member

Gustry commented Oct 12, 2023

Unit tests added, approved @mdouchin himself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run end2end If the PR must run end2end tests or not sponsored development This development has been funded tests unit tests and docker configuration for tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants