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

CI4: nominatim issue . People form basic info. #3885

Closed
odiea opened this issue Dec 3, 2023 · 6 comments
Closed

CI4: nominatim issue . People form basic info. #3885

odiea opened this issue Dec 3, 2023 · 6 comments
Assignees
Labels
bug CodeIgniter4 Issue relates to the conversion to CodeIgniter 4
Milestone

Comments

@odiea
Copy link
Collaborator

odiea commented Dec 3, 2023

When entering a zip or country code the following error was returned.
message
:
"Structured query parameters(amenity, street, city, county, state, postalcode, country) cannot be used together with 'q' parameter."

@jekkos jekkos added the bug label Dec 3, 2023
@jekkos jekkos added this to the 3.4.0 milestone Dec 3, 2023
@jekkos jekkos self-assigned this Dec 3, 2023
@objecttothis
Copy link
Member

What country code are you entering? I take it you are referring to /public/config under the Localization tab?

@odiea
Copy link
Collaborator Author

odiea commented Dec 5, 2023

Customer, Employee, Supplier application/views/people/form_basic_info.

@objecttothis objecttothis added the CodeIgniter4 Issue relates to the conversion to CodeIgniter 4 label Dec 12, 2023
@objecttothis objecttothis changed the title CI 3 And CI4 nominatim issue . People form basic info. CI4: nominatim issue . People form basic info. Dec 12, 2023
@jekkos
Copy link
Member

jekkos commented Dec 29, 2023

Also got this error Content-Security-Policy: The page’s settings blocked the loading of a resource at https://nominatim.openstreetmap.org/search?q=2200&format=json&limit=5&addressdetails=1&countrycodes=us&accept-language=en-US&city=2200 (“connect-src”).

@jekkos
Copy link
Member

jekkos commented Dec 29, 2023

but at least it seems that @odiea browser is able to make the API call and perhaps something has changed in nominatim itself. Quite impressive that it kept working all these years btw

@jekkos
Copy link
Member

jekkos commented Dec 29, 2023

Indeed according to their docs, either you use unstructured query, or we search using fields only

@jekkos
Copy link
Member

jekkos commented Dec 29, 2023

Fixed now on dev server. I might want to backport this one in case we also tackle #3913

@jekkos jekkos closed this as completed Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug CodeIgniter4 Issue relates to the conversion to CodeIgniter 4
Projects
None yet
Development

No branches or pull requests

3 participants