Easier to see what's changed; numeric keys change so 4 => 'admin' may be one export, whereas 5 => 'admin' the next, so looks like 'admin' has changed in some way when hasn't.

Helps when using version control/diff tools

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hefox’s picture

Status: Active » Needs review
FileSize
686 bytes
mpotter’s picture

Is this still an issue? Wondering how the import/revert works if you are changing from a numeric to a role name. If this is still valid, let me know and I'll commit it.

mrfelton’s picture

Yeah, I think this is still an issue. The array keys are not used so changing from a numerical index to a role name shouldn't have any adverse affect, but it should help stop making things look like they have changes when infact they haven't.

mrfelton’s picture

This is a really annoying problem, with a pretty simple fix. Patch updated against latest codebase.

hefox’s picture

Status: Needs review » Reviewed & tested by the community
mpotter’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Committed in 99e3497.

hefox’s picture

I'm so going to work on backporting this. Yay!

hefox’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.16 KB

Changes user permissions and formats (wasn't relavent in d7 since formats use permissions instead)

DamienMcKenna’s picture

Bump for testbot.

DamienMcKenna’s picture

Status: Needs review » Reviewed & tested by the community

RTBC, forgot that testbot doesn't work on D6.

hefox’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.