notum-cz / strapi-plugin-location

This plugin allows users to create location inputs and store latitude and longitude values as geometry types in a PostGIS database. It also provides functionality to filter items based on their location.
MIT License
26 stars 13 forks source link

Crash on startup when not using postgres #8

Open innerdvations opened 1 year ago

innerdvations commented 1 year ago

Bug report

Describe the bug

When strapi is not using postgres, the server crashes on startup

Steps to reproduce the behavior

  1. Start a strapi instance without using postgres
  2. The info message is logged, but the server crashes

Expected behavior

The plugin should be disabled and the server should start without it

Additional context

I noticed you already have a check in there for plugin disabled, I believe it just needs to be added to a few more places.

omikulcik commented 1 year ago

Thank you for reporting this. We are currently putting together our roadmap and this will be definitely one of the goals.

MohitBytive commented 8 months ago

@omikulcik I'm planning to use location plugin, is this bug is solved or still not fixed. I'm using sql as the database for my strapi project