Ticket #2395 (new defect)

Opened 2 years ago

Last modified 23 months ago

paster db clean/init don't work when spatial extension enabled

Reported by: dread Owned by:
Priority: minor Milestone: ckan-backlog
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


If you have a spatial enabled database then if you don't disable the spatial extension in the CKAN config temporarily then you get errors when you run paster db clean and paster db init.

Can't you just modify the clean and init functions to run without extensions enabled?

The wider problem is that extensions do their own inits every time you do load_environment, which seems crazy and inefficient to me, since this occurs every time a request comes into CKAN. But that is another problem/ticket.

Change History

comment:1 Changed 23 months ago by kindly

  • Milestone set to ckan-backlog
Note: See TracTickets for help on using tickets.