Closed (fixed)
Project:
Index
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2010 at 01:15 UTC
Updated:
24 Jul 2013 at 09:01 UTC
Predefined indexes should be provided to serve as examples and to help users to get started more quickly. The attached patch features working code. The problem is that with a regular installation the indexes from /indexes aren't imported. This does however happen when doing a reinstall using Devel.
| Comment | File | Size | Author |
|---|---|---|---|
| import_predefined_indexes_00.patch | 4 KB | xano |
Comments
Comment #1
xanoThe problem has been fixed. drupal_write_record(), which is called in $index->insert() requires index_schema(), but module_invoke_all() doesn't call it, because when index_install() is being executed the module is not yet marked installed.
Added and committed.
Comment #3
xano