Closed (fixed)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
30 Oct 2012 at 18:57 UTC
Updated:
22 May 2013 at 07:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
nick_vhThere is no upgrade path from 6.x-3.x to 7.x-1.x yet. Any suggestions on how to resolve this?
Comment #2
drummWhat changes are needed for this upgrade path? apachesolr_schema() in 6.x-3.x and 7.x-1.x are the same. I haven't done an exhaustive check of variables, but apachesolr_index_updated looks like it would after apachesolr_update_7012(), an array of ints rather than a single int.
Comment #3
drummHere is an idea for how to support this. apachesolr_update_6303() sets a flag used in 7.x updates.
Comment #4
drummComment #5
nick_vhSo there is no drupal mechanism at all to do this aside from a variable? If we add this variable we should also remove it on uninstall
Comment #6
drummAttached are versions adding removal on uninstall.
Core only runs a module's updates in order and doesn't have a mechanism I'm aware of to make this nicer. Temporary variables to hold state for updates happens, such as system_update_6043_RC2 in http://drupalcode.org/project/drupal.git/blob/refs/heads/6.x:/modules/sy....
Comment #7
nick_vhcommited to both branches, thanks!
Comment #9
andrewsuth commentedOn the module page is says
Does this patch made to the 6.x-3.x branch mean that there is now a full upgrade path from 6.x-3.x to 7.x-1.x?
If you were to choose a install either 6.x-1.x or 6.x-3.x today (with the intention of upgrading to 7.x in the next 12 months), which one would you install?