Cannot export "Submit latitude/longitude" permission for Location module due to slash in permission title, http://drupal.org/project/location

Configuration Management, 7.x-2.0-alpha2, raises this error:

file_put_contents(config:///permission.submit_latitude/longitude.inc): failed to open [warning]
stream: "ConfigurationStreamWrapper::stream_open" call failed StoragePhp.php:109

However, Configuration Management 7.x-2.x-dev (5th March) raises no error, good. But the permission is not exported at all and no indication is given that it is missing, not so good.

Here are the permissions exported for the Location module, notice that the "Submit latitude/longitude" permission is not listed at all.

permission.view_location_directory.inc
permission.view_node_location_table.inc
permission.view_user_location_table.inc
CommentFileSizeAuthor
#1 1960546.patch727 bytesdagmar

Comments

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new727 bytes

Thanks for reporting this. This patch should fix the issue.

Status: Needs review » Needs work

The last submitted patch, 1960546.patch, failed testing.

dagmar’s picture

Status: Needs work » Needs review

#1: 1960546.patch queued for re-testing.

dagmar’s picture

Title: Cannot export "Submit latitude/longitude" permission for Location module due to slash in permission title » Permissions cannot be exported if they contain an slash in their names
dagmar’s picture

Title: Permissions cannot be exported if they contain an slash in their names » Permissions cannot be exported if they contain a slash in their names
Status: Needs review » Fixed

Unrelated fail of tests.

Committed and Pushed to 7.x-2.x. Thanks!

Status: Fixed » Closed (fixed)

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