Intevation / downloadclient

GDI-BY DownloadClient
Apache License 2.0
1 stars 4 forks source link

The "Extract Stored Query" Mechanism looks inefficient. #95

Open dmth opened 7 years ago

dmth commented 7 years ago

Whilst debugging the StoredQuery Parameter validation, I discovered that the mechanisme to extract the parameters seems unefficient.

Something like this happens:

    ---Extract Stored Query---
    name:
    value:
    type:
    --------------------------
    ---Extract Stored Query---
    name: CRS
    value: asd
    type: CRS
    --------------------------
    AddAttr: set CRS to asd
    the type is (wasnt set): CRS
    The given type is: string
    Settiong type to: string
    ---Extract Stored Query---
    name: CRS
    value: asd
    type: string
    --------------------------

See my Commit: https://github.com/Intevation/downloadclient/commit/5c3114746189333f8a7c21ff6150e125a8576ca2