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

qgswfsparameters: Ensure to get the default value on wrong version #55333

Merged
merged 1 commit into from
Nov 23, 2023

Commits on Nov 22, 2023

  1. qgswfsparameters: Ensure to get the default value on wrong version

    `QgsWfsParameters::versionAsNumber` creates a `QgsProjectVersion` from
    the version number defined in the request `VERSION` parameter. If the
    version is not defined, the version 1.1.0 is used.
    However, if the version number defined in the `VERSION` parameter is
    not handled by QGIS (for example 2.0.0), the `QgsProjectVersion` is
    nver populated which corresponds to use version 0.0.0 instead of
    1.1.0, the default value.
    
    This issue is fixed by always using version number 1.1.0 if the list
    of handled versions (`mVersions`) does not contain the requested
    version.
    ptitjano committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    4347539 View commit details
    Browse the repository at this point in the history