I attempted upgrades on several different installations from the previous versions and betas. Each time the fail to remove old projects that were defined.

What sucks is I didn't save any information on this when the exception occurred.

Comments

perignon’s picture

This might could be fixed via documentation. Saying to remove all existence's of the pervious versions to include the databases.

DeeZone’s picture

To clarify, existing project entries for which "previous versions" of the module are you upgrading from? Are you expecting old projects to be removed when upgrading or should existing project entries be updated with the database changes?

DeeZone’s picture

Assigned: Unassigned » DeeZone
perignon’s picture

This occurred when I ran the DB updates which was trying to run optimizely_update_7210

It threw out the drupal_set_message of 'An error was encountred resetting all of the project entries to disabled for the Optimizely module.'

I was upgrading from the dev branch I think. Did it twice on my local dev and on my prod site.

DeeZone’s picture

What was the date on the dev release? I'm guessing you had an old dev release that did not include several schema (database) changes that happened in the production branch. Once I know the date of the dev release I can go back and see if I can reproduce your issue. Note also that the 7.x-7.11 release deals with all of the bugs introduced in 7.10 and is a much more stable release. It's worth going though optimizely_update_7211().

DeeZone’s picture

Issue summary: View changes
Priority: Normal » Critical
Status: Active » Needs work

I've been able to reproduce this issue. I have a working solution that will be in the 7.x-2.15 release.

DeeZone’s picture

Status: Needs work » Needs review

Tested for:

  • 7.x-2.14 -> 7.x-2.15
  • 7.x-2.13 -> 7.x-2.15
  • 7.x-2.12 -> 7.x-2.15 (Critical bug, version not usable, no upgrade path needed
  • 7.x-2.11 -> 7.x-2.15 (Critical bug,, merge error. No upgrade path needed.
  • 7.x-2.10 -> 7.x-2.15
  • 7.x-2.04 -> 7.x-2.15
  • 7.x-2.03 -> 7.x-2.15
  • 7.x-2.02 -> 7.x-2.15
  • 7.x-2.01 -> 7.x-2.15
  • 7.x-2.0 -> 7.x-2.15
  • 7.x-1.1 -> 7.x-2.15
  • 7.x-1.0 -> 7.x-2.15

All upgrade paths result in project entries upgrading without error.

See 7.x-2.x_Bug_fixes-2.15 branch for solution. Fix will be in 7.x-2.15 release.

DeeZone’s picture

Status: Needs review » Fixed
DeeZone’s picture

Status: Fixed » Closed (fixed)