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

[Backport 2024.02.xx] #10081: fixing .geojson file not supported with mac os (#10082) #10625

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

dsuren1
Copy link
Contributor

@dsuren1 dsuren1 commented Oct 23, 2024

#10081: fixing .geojson file not supported with mac os (#10082)

* geosolutions-it#10081
FixBug .geojson file not supported in macos.
- In macOS .geojson file will be identified as type of "application/geo+json". So in checkFileType and readFile functions, they will not go into MIME_LOOKUPS list to find the corresponding type.
- Check first in MIME_LOOKUPS list and then the file.type will solve this problem.
On behalf of DB Systel GmbH

* geosolutions-it#10082
FixBug .geojson file not supported in macos.
- added codes to support geojson in processFiles.jsx
- fixed bug in testData.js in order to give a type by initialing a new File instance

On behalf of DB Systel GmbH

(cherry picked from commit afafc5c)
@dsuren1 dsuren1 added this to the 2024.02.01 milestone Oct 23, 2024
@dsuren1 dsuren1 self-assigned this Oct 23, 2024
@dsuren1 dsuren1 linked an issue Oct 23, 2024 that may be closed by this pull request
@dsuren1 dsuren1 requested a review from tdipisa October 23, 2024 15:22
@tdipisa tdipisa merged commit f7a8995 into geosolutions-it:2024.02.xx Oct 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.geojson file not supported with mac os
3 participants