Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Migrate module support was implemented in the module in #1635608: Migrate module support. However, this doesn't work for me. The field handler does not show up on the migrate configure page. It requires the fivestar.migrate.inc to be in the same location as the .module file and also listed in the .info file. I tested this against latest release of Migrate 2.6. It should work for earlier versions too.
Comment | File | Size | Author |
---|---|---|---|
#1 | fivestar-migrate-2225407-1.patch | 3.26 KB | hussainweb |
Comments
Comment #1
hussainwebI am attaching the patch which moves the .migrate.inc file to the module root path and adds an entry to .info file.
Comment #2
whiteph CreditAttribution: whiteph commentedThanks, I'll look at this when I get back from vacation.
Comment #3
SiliconMind CreditAttribution: SiliconMind commentedAny word on this? Same issue here: the fivestar.migrate.inc is never included and the handler is not available for migration classes.
The patch works for me. Tested with Migrate 2.5.
Comment #4
hussainwebThanks @SiliconMind for the review. I have tested this with Migrate 2.6-dev and it is working fine.
If you are satisfied with the patch, please mark it as RTBC so that things can move ahead.
Comment #5
SiliconMind CreditAttribution: SiliconMind commentedNo objections here. Works like a charm.
Comment #7
emilorol CreditAttribution: emilorol commentedHi,
I am using the file with Migrate D2D and it is not registering. I have move the file in and out the includes folder and properly add it to the info file (with/out the includes) and it is not working. I had to copy the code an add it to my custom made migrate file and then it will register.
Now I am trying to migrate rating from nodes and comments, but I can figure it how since in the source node in D6 I don't see the rating field.
What am I missing?
Note: I am migrating D6 to D7
Comment #9
whiteph CreditAttribution: whiteph as a volunteer commented@emilorol - please open another issue if you still have your problem with nodes & comments.