Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
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
- Discuss
- Create a patch
- Test
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
Screenshot from 2015-07-11 18:27:08.png | 40.04 KB | gokulnk |
Comments
Comment #1
mpotter CreditAttribution: mpotter commentedThis 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.