When exporting multiple roles at one time, the array produced repeats $roles['role'] multiple times. When importing these, since the array key 'role' is overwritten multiple times, the module only imports the last role in in the list. I believe that when the dump is created, the array key should increment. something like $role[0] then $role[1] so when the foreach loop in the import function runs, it will process all of the roles provided.
Comments
Comment #2
devd commentedThanks Morse,
To acknowledge this isue. I have fixed this under the tag release 7.x-1.0-rc3. If you any issue, Feel free to conact me directally.
Comment #3
dbcurtis commentedI think that 7.x-1.0-rc3 did not fully fix the problem.
Here is what happens to me.
1) I restore the data base from a clean backup
2) Try to import 4 Roles and permissions (only one is recognized)
3) Try to import the same 4 again and they are are recognized.