Closed (won't fix)
Project:
Migrate Extras
Version:
7.x-2.x-dev
Component:
Migrate Extras Features
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2011 at 12:38 UTC
Updated:
4 Oct 2012 at 20:54 UTC
Hi,
it would be nice to migrate not only group ids but also group names similar to the taxonomy handler.
| Comment | File | Size | Author |
|---|---|---|---|
| migrate_extras_og.patch | 2.73 KB | jantimon |
Comments
Comment #1
drewish commentedI'm not a fan of the additional whitespace that was added.
I think the class should have some documentation added that they can use between looking up the group by name or did by setting the argument. I'm marking this as needs work because you changed the default from looking up by gid to looking up by name. That would break existing migrations. Oh you should also document that the state and created values can be passed in as arguments too.
What do you think about making getGidByName($name) a static function? It doesn't seem like it needs to be part of a class instance. There's some missing whitespace at if(is_null that should be fixed.
Comment #2
mikeryanMigration support for OG is now builtin to OG, any issues with that support should be raised in the OG issue queue.