Problem/Motivation

When the write permissions for the folder modules/custom is not available the module shows an error message Profile test_features not written to modules/custom/test_features. Error: Failed to create directory modules/custom/test_features. But the components that were selected from the form are not retained. If the profile had too many components it could be time-consuming to create them again.

Features - No write access

Proposed resolution

Retain the selected components in the form on failure. In fact it might be a good idea to retain the components even in case of a success.

Remaining tasks

  1. Discuss
  2. Create a patch
  3. Test

User interface changes

None

API changes

None

CommentFileSizeAuthor
Screenshot from 2015-07-11 18:27:08.png40.04 KBgokulnk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mpotter’s picture

Category: Bug report » Feature request
Priority: Major » Normal
Status: Needs review » Active

This is the same behavior as in Features 7.x. This is a difficult issue to resolve because if the feature doesn't get exported then your form data isn't saved anywhere. About the only way to handle this would be to save the entire form in the browser session and then try to restore it.

NOTE: This isn't a bug, it is just how it works when refreshing the page, so it's a Feature Request. Feature Requests are never marked as Major. You should only set the Status to Review if there is a posted patch to review.