For reference, I'm using:
Drupal Core 6.14
Ubercart 6.x-2.0-rc6
Fivestar 6.x-1.18
Voting API 6.x-2.3
Anyway - I just upgraded from Drupal Core 6.13 to 6.14. When I did, the Fivestar field on my product pages disappeared, despite all Voting & Fivestar modules being re-enabled.
When I go to the "Manage Fields" section of my Product content type, I see the following errors:
"This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled."
"Product Rating (field_product_rating) is an inactive Fivestar Rating field that uses a Stars widget."
Similarly, this field (field_product_rating) no longer shows up on my list of fields.
I do not know what is driving this error. The only thing I can think of is that when I created this field, the widget was called a "Fivestar" widget (I think), and now the system seems to be looking for a "Stars" widget.
Any help would be greatly appreciated.
Comment | File | Size | Author |
---|---|---|---|
#6 | fivestar-583476.patch | 579 bytes | ezra-g |
Comments
Comment #1
victoria_b CreditAttribution: victoria_b commentedSame happens to me. Just upgraded to Drupal 6.14 from 6.10... Using the same modules that brycesenz is.
Comment #2
drupup CreditAttribution: drupup commentedThis has apparently been an issue before with FiveStar during updates. I found a workaround here:
http://drupal.org/node/327041#comment-1354364
If you're able to get into your MySQL tables, there are two fields that control FiveStar activation. During the upgrade, they're apparently getting set to 0 and need to be manually reset to 1. Pretty easy to do if you've got phpMyAdmin or some other interface with your database. I had a similar problem, followed the steps (described in detail at the node address above), and things are back to normal. Worth noting for future upgrades until it gets fixed.
Comment #3
ezra-g CreditAttribution: ezra-g commentedThanks for the issue reference.
A potentially easier interim solution is to visit update.php and run Fivestar update 6105.
Comment #4
ezra-g CreditAttribution: ezra-g commentedComment #5
ezra-g CreditAttribution: ezra-g commentedWe should probably implement hook_enable and re-activate the inactive fields. Also, marking #607532: Temporarily disabling Fivestar module leave CCK fields as "inactive" as a duplicate.
Comment #6
ezra-g CreditAttribution: ezra-g commentedApparently Fivestar does correctly implement hook_enable and content_notify(), but content_associate_fields() doesn't make the fields available without including fivestar_field.inc first, so I added it to our implementation of hook_enable. I was able to re-create and solve the problem described here with the attached patch. It would be great to get a review before committing this.
Comment #7
ezra-g CreditAttribution: ezra-g commentedAfter further thought and getting a "sounds good" from quicksketch, this is committed in the 1.x and 2.x/HEAD branches. People affected by this issue can either apply this patch, wait for the nightly dev snapshot to be re-rolled or await the next official release sometime this week.