Closed (duplicate)
Project:
Drupal core
Version:
10.1.x-dev
Component:
configuration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 May 2016 at 10:28 UTC
Updated:
28 Mar 2023 at 17:34 UTC
Jump to comment: Most recent
Comments
Comment #2
gabesulliceThanks for the bug report, please include steps to reproduce.
Comment #3
joachim commentedI'm not sure.
I have a D8 install which is core and just a few contrib modules, and with that the exported perms are non-numeric:
Comment #4
simon georges commentedIt happened to me as well. I have created roles on my website, and when trying to export them using the configuration interface, some roles exports are using "-" and other numerical indexes. For now, both roles have always been exported the same way even when modifying the permissions, but it is strange to observe that exports don't look the same.
Comment #6
zerolab commentedWe keep seeing this issue with 8.2.x
Mostly happening with user roles.
Will move to active. The issue is that this happens using
drush config-exportor the UI, randomly.Comment #17
larowlanDoes this still happen on 9.3+ where we sort config according to its schema?
This usually happens if you edit the yml by hand in my experience
Comment #20
quietone commented7 months it was asked if this is still a problem in core and there has been no reply. Therefore, I am closing this as outdated.
Comment #21
keszthelyi commentedThe issue happened to me today on Drupal 9.5.5 (PHP8.1). I changed permissions on 2 roles and the config export started numbering the permission array keys that previously were just listed with the dash sign (as expected).
Comment #22
larowlan@keszthelyi is that the same issue as this one? #3346953: Role permissions are not sorted when saving via admin/people/permissions
Comment #23
keszthelyi commentedHi @larowlan,
Yes, that's the issue I have. Thanks for pointing out that issue!
Comment #24
dpiPer 22/23