Hello,

I was asked to open a new ticket instead of bumping an old closed one, so here goes (forked from http://drupal.org/node/1504398#comment-5978732:)

it still seems that even though I am running the patched version of the ckeditor plugin (7.x-1.9), the import of ckeditor profiles via features still fails. People I send my packed feature to complain that that feature breaks their Drupal environment.

What I packed in the feature:
- 2 ckeditor profiles: generic and mywebsite_cms
- access rights: use text format filtered_html, use text format full_html, use text format mywebsite_cms

It makes no difference if I pack all ckeditor profiles in the feature.

After importing in another Drupal environment we found that the profile mywebsite_cms was not created, and Drupal tries to write access rights for that profile that does not exist:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} (rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 4 [:db_insert_placeholder_1] => use text format mywebsite_cms [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3030 of /srv/http/mywebsite/releases/mywebsite/www/public/modules/user/user.module).